[Jsmooth-cvs] jsmooth/skeletons/autodownload main.cpp,1.5,1.6
Status: Beta
Brought to you by:
reyes
From: Rodrigo R. <re...@us...> - 2007-04-04 19:47:13
|
Update of /cvsroot/jsmooth/jsmooth/skeletons/autodownload In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv24631/skeletons/autodownload Modified Files: main.cpp Log Message: Fixed [ 1694330 ] Working directory handled incorrectly Fixed [ 1694128 ] launch in exe proc: '\' in command line not passed correctly Index: main.cpp =================================================================== RCS file: /cvsroot/jsmooth/jsmooth/skeletons/autodownload/main.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** main.cpp 1 Apr 2007 22:18:05 -0000 1.5 --- main.cpp 4 Apr 2007 19:47:08 -0000 1.6 *************** *** 58,61 **** --- 58,63 ---- } + + int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, *************** *** 72,76 **** { // Note that this overwrites an existing KEY_ARGUMENTS ! std::vector<std::string> args = StringUtils::split(lpszArgument, " \t\n\r", "\"'", true); globalResMan->setUserArguments( args ); } --- 74,80 ---- { // Note that this overwrites an existing KEY_ARGUMENTS ! std::vector<std::string> args = StringUtils::split(lpszArgument, " \t\n\r", "\"'", false); ! for (int i=0; i<args.size(); i++) ! args[i] = StringUtils::fixArgumentString(args[i]); globalResMan->setUserArguments( args ); } |