All pastes #397557 Raw Edit

Anonymous

public text v1 · immutable
#397557 ·published 2007-03-16 16:02 UTC
rendered paste body
Index: rbutil/rbutilApp.cpp
===================================================================
--- rbutil/rbutilApp.cpp        (revision 12800)
+++ rbutil/rbutilApp.cpp        (working copy)
@@ -225,7 +225,7 @@
 #endif
     gv->GlobalConfig->SetPath(stack);
 
-    delete buf; delete tmpstr;
+    //delete buf; delete tmpstr;
     wxLogVerbose(wxT("=== end rbutilFrmApp::ReadGlobalConfig()"));
     return true;
 }
Index: rbutil/wizard_pages.cpp
===================================================================
--- rbutil/wizard_pages.cpp     (revision 12800)
+++ rbutil/wizard_pages.cpp     (working copy)
@@ -323,7 +323,8 @@
             wxMkdir(dest);
 
         //this is a URL no PATH_SEP
-        src.Printf("%s/data/%s/%s",gv->themes_url.c_str(),gv->curresolution.c_str(),filename.c_str());
+        //src.Printf("%s/data/%s/%s",gv->themes_url.c_str(),gv->curresolution.c_str(),filename.c_str());
+       src.Printf(wxT("%s" PATH_SEP "data" PATH_SEP "%s" PATH_SEP "%s"),gv->themes_url.c_str(),gv->curresolution.c_str(),filename.c_str());
         dest.Printf(wxT("%s" PATH_SEP "download" PATH_SEP "%s" PATH_SEP "%s"),
             gv->stdpaths->GetUserDataDir().c_str(),gv->curresolution.c_str(),filename.c_str());