diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 02:14:08 +0000 |
commit | f5aca1a1b402bd7ebc944dc6e6fe65828d863365 (patch) | |
tree | 4a0fdd8e166d5c4b03543279d332b9a858ef62df /src/tools/viewcsv.cpp | |
parent | 10c557562e1d67c55314c212371ea9cb7f802863 (diff) | |
download | libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.gz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.bz2 libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.tar.xz libbu++-f5aca1a1b402bd7ebc944dc6e6fe65828d863365.zip |
Bu::FString is now String, and there's a shell script to fix any other programs
that were using fstring, I hope.
Diffstat (limited to 'src/tools/viewcsv.cpp')
-rw-r--r-- | src/tools/viewcsv.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/viewcsv.cpp b/src/tools/viewcsv.cpp index d81525e..9be1291 100644 --- a/src/tools/viewcsv.cpp +++ b/src/tools/viewcsv.cpp | |||
@@ -38,7 +38,7 @@ public: | |||
38 | return 0; | 38 | return 0; |
39 | } | 39 | } |
40 | 40 | ||
41 | Bu::FString sFileIn; | 41 | Bu::String sFileIn; |
42 | bool bHeader; | 42 | bool bHeader; |
43 | }; | 43 | }; |
44 | 44 | ||
@@ -245,10 +245,10 @@ public: | |||
245 | setHeaderRow( !bHeaderRow ); | 245 | setHeaderRow( !bHeaderRow ); |
246 | } | 246 | } |
247 | 247 | ||
248 | Bu::FString prompt( const Bu::FString &sPrompt ) | 248 | Bu::String prompt( const Bu::String &sPrompt ) |
249 | { | 249 | { |
250 | int maxx, maxy; | 250 | int maxx, maxy; |
251 | Bu::FString sStr; | 251 | Bu::String sStr; |
252 | 252 | ||
253 | RegEx re( sPrompt ); | 253 | RegEx re( sPrompt ); |
254 | 254 | ||
@@ -292,7 +292,7 @@ public: | |||
292 | sysCaret.reset(); | 292 | sysCaret.reset(); |
293 | } | 293 | } |
294 | 294 | ||
295 | void findNext( const Bu::FString &sTerm ) | 295 | void findNext( const Bu::String &sTerm ) |
296 | { | 296 | { |
297 | RegEx re( sTerm ); | 297 | RegEx re( sTerm ); |
298 | 298 | ||
@@ -398,7 +398,7 @@ int main( int argc, char *argv[] ) | |||
398 | CsvView view( doc ); | 398 | CsvView view( doc ); |
399 | view.setHeaderRow( opt.bHeader ); | 399 | view.setHeaderRow( opt.bHeader ); |
400 | 400 | ||
401 | Bu::FString sSearchTerm; | 401 | Bu::String sSearchTerm; |
402 | 402 | ||
403 | bool bRun = true; | 403 | bool bRun = true; |
404 | do | 404 | do |