aboutsummaryrefslogtreecommitdiff
path: root/src/rule.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-16 05:19:48 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-16 05:19:48 +0000
commitd66465a69fdc7922fa372e80cfae23e2fe3a6396 (patch)
tree6127aa0e5c300a5ae7aa22c1195002ca46490589 /src/rule.cpp
parenta2c615fe781cc64a4603d6ba198ea4fd91b36c8d (diff)
downloadbuild-d66465a69fdc7922fa372e80cfae23e2fe3a6396.tar.gz
build-d66465a69fdc7922fa372e80cfae23e2fe3a6396.tar.bz2
build-d66465a69fdc7922fa372e80cfae23e2fe3a6396.tar.xz
build-d66465a69fdc7922fa372e80cfae23e2fe3a6396.zip
Works with the minor changes that have happened to libbu++, it's ready for new
features and fixes :)
Diffstat (limited to '')
-rw-r--r--src/rule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rule.cpp b/src/rule.cpp
index 7578707..2cbb2ad 100644
--- a/src/rule.cpp
+++ b/src/rule.cpp
@@ -148,7 +148,7 @@ void Rule::setDisplay( const Bu::FString &sStr )
148 148
149const Bu::FString &Rule::getDisplay() const 149const Bu::FString &Rule::getDisplay() const
150{ 150{
151 return ((bool)sDisplay)?(sDisplay):(sName); 151 return (sDisplay.isSet())?(sDisplay):(sName);
152} 152}
153 153
154void Rule::addRequires( const AstBranch *pBr ) 154void Rule::addRequires( const AstBranch *pBr )