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
This commit is contained in:
Dominik Wenger 2007-03-16 23:15:56 +00:00
parent 85a226d4e7
commit c0351ca633
2 changed files with 1 additions and 2 deletions

View file

@ -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;
}

View file

@ -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());