From c6a908253d0264834878fabbe0e7e78c42b11284 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 13 May 2009 08:19:00 +0000 Subject: FBasicString changed a little, I had to fix some empty string tests. This is way better now though. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 77ee0c0..7ea2f18 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -57,7 +57,7 @@ public: virtual int cmdParam( int argc, char *argv[] ) { - if( sAction > 0 ) + if( !sAction.isSet() ) { printf("You can only specify one action per command line.\n\n"); exit( 1 ); @@ -139,7 +139,7 @@ int main( int argc, char *argv[] ) } else { - if( prm.sAction > 0 ) + if( !prm.sAction.isSet() ) pBuild->execAction( prm.sAction.getStr() ); else pBuild->execAction(""); -- cgit v1.2.3