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  
    20792079  //Fix wrong" maxima=1" paraneter in ~/.wxMaxima if upgrading from 0.7.0a
    20802080  if (!have_config || (have_config && command.IsSameAs (wxT("1"))))
    20812081  {
    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     else
    2090       command = wxT("maxima");
    2091 #else
    20922082    command = wxT("maxima");
    2093 #endif
    20942083    config->Write(wxT("maxima"), command);
    20952084  }
    20962085