aboutsummaryrefslogtreecommitdiff
path: root/src/rule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rule.cpp')
-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 )