Ticket #53732: patch-src_wxMaxima.cpp.diff
File patch-src_wxMaxima.cpp.diff, 744 bytes (added by KubaO (Kuba Ober), 8 years ago) |
---|
-
src/wxMaxima.cpp
old new 2079 2079 //Fix wrong" maxima=1" paraneter in ~/.wxMaxima if upgrading from 0.7.0a 2080 2080 if (!have_config || (have_config && command.IsSameAs (wxT("1")))) 2081 2081 { 2082 #if defined (__WXMAC__)2083 if (wxFileExists("/Applications/Maxima.app"))2084 command = wxT("/Applications/Maxima.app");2085 else if (wxFileExists("/usr/local/bin/maxima"))2086 command = wxT("/usr/local/bin/maxima");2087 else if (wxFileExists("/usr/bin/maxima"))2088 command = wxT("/usr/bin/maxima");2089 else2090 command = wxT("maxima");2091 #else2092 2082 command = wxT("maxima"); 2093 #endif2094 2083 config->Write(wxT("maxima"), command); 2095 2084 } 2096 2085