From d66465a69fdc7922fa372e80cfae23e2fe3a6396 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 16 May 2010 05:19:48 +0000 Subject: Works with the minor changes that have happened to libbu++, it's ready for new features and fixes :) --- src/rule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rule.cpp') 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 ) const Bu::FString &Rule::getDisplay() const { - return ((bool)sDisplay)?(sDisplay):(sName); + return (sDisplay.isSet())?(sDisplay):(sName); } void Rule::addRequires( const AstBranch *pBr ) -- cgit v1.2.3