diff options
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 ) |