From da5e2451000bbea99d26fc3777e0ebb1d22470c4 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 11 Sep 2007 08:31:14 +0000 Subject: Corrected a bug that kept build from building with the new libbu++. --- src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 376df43..7e18743 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -84,10 +84,10 @@ public: sView = "colorpct"; } - std::string sCache; - std::string sFile; - std::string sView; - std::string sDir; + Bu::FString sCache; + Bu::FString sFile; + Bu::FString sView; + Bu::FString sDir; Bu::FString sAction; //Viewer *pViewer; bool bDebug; @@ -118,8 +118,8 @@ int main( int argc, char *argv[] ) } pBuild = bld.load( prm.sFile.c_str() ); - pBuild->setCache( prm.sCache ); - pBuild->setView( prm.sView ); + pBuild->setCache( prm.sCache.getStr() ); + pBuild->setView( prm.sView.getStr() ); if( prm.bCleanMode ) pBuild->setMode( Action::actClean ); -- cgit v1.2.3