Ticket #36236: patch-src_main.cpp.diff
File patch-src_main.cpp.diff, 461 bytes (added by KubaO (Kuba Ober), 12 years ago) |
---|
-
src/main.cpp
old new 46 46 47 47 bool MyApp::OnInit() 48 48 { 49 { 50 wxString oldpath; 51 wxGetEnv(wxT("PATH"), &oldpath); 52 if (oldpath.Find(wxT("@@PREFIX@@/bin")) == -1) 53 { 54 wxString newpath = oldpath.Prepend(wxT("@@PREFIX@@/bin:")); 55 wxSetEnv(wxT("PATH"), newpath); 56 } 57 } 58 49 59 int lang = wxLANGUAGE_UNKNOWN; 50 60 51 61 #if defined __WXMSW__