diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-16 05:19:48 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-16 05:19:48 +0000 |
commit | d66465a69fdc7922fa372e80cfae23e2fe3a6396 (patch) | |
tree | 6127aa0e5c300a5ae7aa22c1195002ca46490589 /src/rule.cpp | |
parent | a2c615fe781cc64a4603d6ba198ea4fd91b36c8d (diff) | |
download | build-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 'src/rule.cpp')
-rw-r--r-- | src/rule.cpp | 2 |
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 | ||
149 | const Bu::FString &Rule::getDisplay() const | 149 | const Bu::FString &Rule::getDisplay() const |
150 | { | 150 | { |
151 | return ((bool)sDisplay)?(sDisplay):(sName); | 151 | return (sDisplay.isSet())?(sDisplay):(sName); |
152 | } | 152 | } |
153 | 153 | ||
154 | void Rule::addRequires( const AstBranch *pBr ) | 154 | void Rule::addRequires( const AstBranch *pBr ) |