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/target.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/target.cpp') diff --git a/src/target.cpp b/src/target.cpp index 4f9dd77..958fcf5 100644 --- a/src/target.cpp +++ b/src/target.cpp @@ -219,7 +219,7 @@ const VarHash &Target::getVars() const void Target::setDisplay( const Bu::FString &sNewDisplay ) { - if( !sDisplay ) + if( !sDisplay.isSet() ) sDisplay = sNewDisplay; } @@ -292,7 +292,7 @@ void Target::mergeUnder( const Target *pSrc ) merge( lsRequires, pSrc->lsRequires ); merge( lsOutput, pSrc->lsOutput ); - if( !sPrefix ) + if( !sPrefix.isSet() ) sPrefix = pSrc->sPrefix; sRule = pSrc->sRule; @@ -309,7 +309,7 @@ void Target::mergeUnder( const Target *pSrc ) } } - if( !sDisplay ) + if( !sDisplay.isSet() ) sDisplay = pSrc->sDisplay; // Now we need to reset our vars. -- cgit v1.2.3