summaryrefslogtreecommitdiff
path: root/rbutil/rbutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutil.cpp')
-rw-r--r--rbutil/rbutil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/rbutil.cpp b/rbutil/rbutil.cpp
index 78203ad67f..1663725fbb 100644
--- a/rbutil/rbutil.cpp
+++ b/rbutil/rbutil.cpp
@@ -488,14 +488,14 @@ int Uninstall(const wxString dir, bool isFullUninstall) {
488 // If we're running on the device, let's not delete our own 488 // If we're running on the device, let's not delete our own
489 // installation, eh? 489 // installation, eh?
490 if (gv->portable && 490 if (gv->portable &&
491 FilesToRemove->Item(i).StartsWith(wxT(PATH_SEP 491 FilesToRemove->Item(i).StartsWith(PATH_SEP
492 "RockboxUtility")) ) 492 wxT("RockboxUtility")) )
493 { 493 {
494 continue; 494 continue;
495 } 495 }
496 496
497 wxString* buf2 = new wxString; 497 wxString* buf2 = new wxString;
498 buf.Printf("%s%s", dir.c_str() , FilesToRemove->Item(i).c_str() ); 498 buf.Printf(wxT("%s%s"), dir.c_str() , FilesToRemove->Item(i).c_str() );
499 buf2->Format(wxT("Deleting %s"), buf.c_str()); 499 buf2->Format(wxT("Deleting %s"), buf.c_str());
500 500
501 if (! progress->Update((i + 1) * 100 / totalfiles, *buf2) ) 501 if (! progress->Update((i + 1) * 100 / totalfiles, *buf2) )