mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 12:02:39 -05:00
Fix more Warnings, and also a bug with checking the dirstructure for themes in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12862 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2671b6cda6
commit
22a673062f
4 changed files with 24 additions and 28 deletions
|
|
@ -105,7 +105,7 @@ bool checkZip(wxString zipname)
|
|||
wxString name = entry->GetName();
|
||||
if(entry->IsDir())
|
||||
{
|
||||
if(name.Contains(wxT(".rockbox\\")))
|
||||
if(name.Contains(wxT(".rockbox")))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
|
@ -126,6 +126,7 @@ int DownloadURL(wxString src, wxString dest)
|
|||
wxPD_AUTO_HIDE | wxPD_SMOOTH | wxPD_ELAPSED_TIME |
|
||||
wxPD_REMAINING_TIME | wxPD_CAN_ABORT);
|
||||
progress->Update(0);
|
||||
progress->SetSize(500,200);
|
||||
|
||||
input = true;
|
||||
wxURL* in_http = new wxURL(src);
|
||||
|
|
@ -647,8 +648,7 @@ bool InstallRbutil(wxString dest)
|
|||
if (! copied_exe)
|
||||
{
|
||||
str.Printf(wxT("%s" PATH_SEP EXE_NAME), gv->AppDir.c_str());
|
||||
dstr.Printf(wxT("%s" PATH_SEP EXE_NAME), destdir.c_str(),
|
||||
filestocopy[i].AfterLast(PATH_SEP_CHR).c_str());
|
||||
dstr.Printf(wxT("%s" PATH_SEP EXE_NAME), destdir.c_str());
|
||||
if (! wxCopyFile(str, dstr) )
|
||||
{
|
||||
buf.Printf(wxT("Can't copy program binary %s -> %s"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue