From b79b31077a039a5c215cf5812698986c2e5f0b53 Mon Sep 17 00:00:00 2001 From: jef Date: Thu, 5 Feb 2009 20:15:04 +0000 Subject: [PATCH] process command line arguments as filenames on windows git-svn-id: http://svn.osgeo.org/qgis/trunk@10113 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/main.cpp b/src/app/main.cpp index 570a9aa1a95..4896dbe101a 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -74,6 +74,7 @@ typedef SInt32 SRefCon; static const char * const ident_ = "$Id$"; +#ifndef WIN32 /** print usage text */ void usage( std::string const & appName ) @@ -100,6 +101,7 @@ void usage( std::string const & appName ) } // usage() +#endif ///////////////////////////////////////////////////////////////// @@ -356,6 +358,13 @@ int main( int argc, char *argv[] ) } } } +#else + for(int i=1; i