mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 14:12:26 -05:00
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:
parent
85a226d4e7
commit
c0351ca633
2 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue