StringUtil moved to FbTk
This commit is contained in:
parent
c7c9ec5f4d
commit
245f652926
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
// main.cc for FbRun
|
// main.cc for FbRun
|
||||||
// Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org)
|
// Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen(at)linuxmail.org)
|
||||||
//
|
//
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a
|
// Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
// copy of this software and associated documentation files (the "Software"),
|
// copy of this software and associated documentation files (the "Software"),
|
||||||
|
@ -19,7 +19,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: main.cc,v 1.8 2002/12/05 00:07:39 fluxgen Exp $
|
// $Id: main.cc,v 1.9 2003/04/27 01:04:39 fluxgen Exp $
|
||||||
|
|
||||||
#include "FbRun.hh"
|
#include "FbRun.hh"
|
||||||
#include "App.hh"
|
#include "App.hh"
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
void showUsage(const char *progname) {
|
void showUsage(const char *progname) {
|
||||||
cerr<<"fbrun 1.1.2 : (c) 2002 Henrik Kinnunen"<<endl;
|
cerr<<"fbrun 1.1.3 : (c) 2002-2003 Henrik Kinnunen"<<endl;
|
||||||
cerr<<"Usage: "<<
|
cerr<<"Usage: "<<
|
||||||
progname<<" [arguments]"<<endl<<
|
progname<<" [arguments]"<<endl<<
|
||||||
"Arguments: "<<endl<<
|
"Arguments: "<<endl<<
|
||||||
|
@ -130,7 +130,7 @@ int main(int argc, char **argv) {
|
||||||
if (antialias)
|
if (antialias)
|
||||||
fbrun.setAntialias(antialias);
|
fbrun.setAntialias(antialias);
|
||||||
// expand and load command history
|
// expand and load command history
|
||||||
string expanded_filename = StringUtil::expandFilename(history_file);
|
string expanded_filename = FbTk::StringUtil::expandFilename(history_file);
|
||||||
if (!fbrun.loadHistory(expanded_filename.c_str()))
|
if (!fbrun.loadHistory(expanded_filename.c_str()))
|
||||||
cerr<<"FbRun Warning: Failed to load history file: "<<expanded_filename<<endl;
|
cerr<<"FbRun Warning: Failed to load history file: "<<expanded_filename<<endl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue