]> git.saurik.com Git - wxWidgets.git/commitdiff
tiny change to make g++ 3.3 compile the latest version
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Apr 2007 20:17:52 +0000 (20:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Apr 2007 20:17:52 +0000 (20:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/app.cpp

index ff408b679d5fb23fe15d2972b56d17e590213fd5..464b36b665ba9e42e830c3e478c13d9d469a52cf 100644 (file)
@@ -468,7 +468,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
         for ( int i = 0; i < argc; i++ )
         {
             // leave just the names of the options with values
-            const wxString str(wxString(argv[i]).BeforeFirst('='));
+            const wxString str = wxString(argv[i]).BeforeFirst('=');
 
             for ( size_t j = 0; j < opt.size(); j++ )
             {