summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2007-03-16 23:15:56 +0000
committerDominik Wenger <domonoky@googlemail.com>2007-03-16 23:15:56 +0000
commitc0351ca6338075461565b7ba14b01ba3cabb3f1e (patch)
tree6cfb41d7aa6b406ac3b825a14f9c28e94cbaba94 /rbutil
parent85a226d4e7dfcb4d5fe63dd1292bb667fa147cb0 (diff)
downloadrockbox-c0351ca6338075461565b7ba14b01ba3cabb3f1e.tar.gz
rockbox-c0351ca6338075461565b7ba14b01ba3cabb3f1e.tar.bz2
rockbox-c0351ca6338075461565b7ba14b01ba3cabb3f1e.zip
Fix bad crashing bug,when running under Linux, in Rbutil. thanx to GodEater
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12810 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilApp.cpp1
-rw-r--r--rbutil/wizard_pages.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/rbutil/rbutilApp.cpp b/rbutil/rbutilApp.cpp
index 091dbafbe6..812142185f 100644
--- a/rbutil/rbutilApp.cpp
+++ b/rbutil/rbutilApp.cpp
@@ -225,7 +225,6 @@ bool rbutilFrmApp::ReadGlobalConfig(rbutilFrm* myFrame)
#endif
gv->GlobalConfig->SetPath(stack);
- delete buf; delete tmpstr;
wxLogVerbose(wxT("=== end rbutilFrmApp::ReadGlobalConfig()"));
return true;
}
diff --git a/rbutil/wizard_pages.cpp b/rbutil/wizard_pages.cpp
index 10a511de47..644a7ba4bd 100644
--- a/rbutil/wizard_pages.cpp
+++ b/rbutil/wizard_pages.cpp
@@ -323,7 +323,7 @@ void wxThemesPage::OnListBox(wxCommandEvent& event)
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(wxT("%s/data/%s/%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());