diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-09-11 08:31:14 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-09-11 08:31:14 +0000 |
commit | da5e2451000bbea99d26fc3777e0ebb1d22470c4 (patch) | |
tree | 94ac3cb4bf43bfd99e8a692ff06dbeb65efdd9d8 /src | |
parent | 2913e17def90109ac83922e55a9df8999844ec58 (diff) | |
download | build-da5e2451000bbea99d26fc3777e0ebb1d22470c4.tar.gz build-da5e2451000bbea99d26fc3777e0ebb1d22470c4.tar.bz2 build-da5e2451000bbea99d26fc3777e0ebb1d22470c4.tar.xz build-da5e2451000bbea99d26fc3777e0ebb1d22470c4.zip |
Corrected a bug that kept build from building with the new libbu++.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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: | |||
84 | sView = "colorpct"; | 84 | sView = "colorpct"; |
85 | } | 85 | } |
86 | 86 | ||
87 | std::string sCache; | 87 | Bu::FString sCache; |
88 | std::string sFile; | 88 | Bu::FString sFile; |
89 | std::string sView; | 89 | Bu::FString sView; |
90 | std::string sDir; | 90 | Bu::FString sDir; |
91 | Bu::FString sAction; | 91 | Bu::FString sAction; |
92 | //Viewer *pViewer; | 92 | //Viewer *pViewer; |
93 | bool bDebug; | 93 | bool bDebug; |
@@ -118,8 +118,8 @@ int main( int argc, char *argv[] ) | |||
118 | } | 118 | } |
119 | 119 | ||
120 | pBuild = bld.load( prm.sFile.c_str() ); | 120 | pBuild = bld.load( prm.sFile.c_str() ); |
121 | pBuild->setCache( prm.sCache ); | 121 | pBuild->setCache( prm.sCache.getStr() ); |
122 | pBuild->setView( prm.sView ); | 122 | pBuild->setView( prm.sView.getStr() ); |
123 | if( prm.bCleanMode ) | 123 | if( prm.bCleanMode ) |
124 | pBuild->setMode( Action::actClean ); | 124 | pBuild->setMode( Action::actClean ); |
125 | 125 | ||