Ticket #53732: patch-src_main.cpp.diff
File patch-src_main.cpp.diff, 484 bytes (added by KubaO (Kuba Ober), 8 years ago) |
---|
-
src/main.cpp
old new 129 129 130 130 bool MyApp::OnInit() 131 131 { 132 { 133 wxString oldpath; 134 wxGetEnv(wxT("PATH"), &oldpath); 135 if (oldpath.Find(wxT("@@PREFIX@@/bin")) == -1) 136 { 137 wxString newpath = oldpath.Prepend(wxT("@@PREFIX@@/bin:")); 138 wxSetEnv(wxT("PATH"), newpath); 139 } 140 } 132 141 m_frame = NULL; 133 142 // atexit(Cleanup_Static); 134 143 int lang = wxLANGUAGE_UNKNOWN;