From: <pst...@us...> - 2011-08-06 15:07:35
|
Revision: 894 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=894&view=rev Author: pstieber Date: 2011-08-06 15:07:29 +0000 (Sat, 06 Aug 2011) Log Message: ----------- Looks like command line arguments are wxString objects to convert to a C string for atoi. Modified Paths: -------------- trunk/jazz/src/Project.cpp Modified: trunk/jazz/src/Project.cpp =================================================================== --- trunk/jazz/src/Project.cpp 2011-08-06 15:04:06 UTC (rev 893) +++ trunk/jazz/src/Project.cpp 2011-08-06 15:07:29 UTC (rev 894) @@ -320,7 +320,7 @@ { if ((wxTheApp->argc > opt) && isdigit(wxTheApp->argv[opt][0])) { - mpConfig->Put(i + C_TrackWinXpos, atoi(wxTheApp->argv[opt])); + mpConfig->Put(i + C_TrackWinXpos, atoi(wxTheApp->argv[opt].c_str())); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |