summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/GameListCtrl.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2013-02-28 02:39:06 -0600
committerJordan Woyak <jordan.woyak@gmail.com>2013-02-28 02:40:03 -0600
commit03ec9a2e088b0818bf02a5bc2ffda4a512cba2b7 (patch)
treecdc77e0e83145ee925baf0c8f404bdf894052c50 /Source/Core/DolphinWX/Src/GameListCtrl.cpp
parent56f09d3b91479deb0f3ae3c7ce623c7a4724e087 (diff)
Kill some unnecessary c_str and use StrToWxStr in a few places that I missed.
Diffstat (limited to 'Source/Core/DolphinWX/Src/GameListCtrl.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/GameListCtrl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Src/GameListCtrl.cpp b/Source/Core/DolphinWX/Src/GameListCtrl.cpp
index d385b947e5..cab4c8125b 100644
--- a/Source/Core/DolphinWX/Src/GameListCtrl.cpp
+++ b/Source/Core/DolphinWX/Src/GameListCtrl.cpp
@@ -614,7 +614,7 @@ void CGameListCtrl::ScanForISOs()
// Update with the progress (i) and the message
dialog.Update(i, wxString::Format(_("Scanning %s"),
- StrToWxStr(FileName).c_str()));
+ StrToWxStr(FileName)));
if (dialog.WasCancelled())
break;
@@ -1173,10 +1173,10 @@ void CGameListCtrl::CompressSelection(bool _compress)
WxStrToStr(browseDialog.GetPath()),
FileName);
- if (wxFileExists(StrToWxStr(OutputFileName.c_str())) &&
+ if (wxFileExists(StrToWxStr(OutputFileName)) &&
wxMessageBox(
wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
- StrToWxStr(OutputFileName).c_str()),
+ StrToWxStr(OutputFileName)),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO)
continue;
@@ -1201,10 +1201,10 @@ void CGameListCtrl::CompressSelection(bool _compress)
WxStrToStr(browseDialog.GetPath()),
FileName);
- if (wxFileExists(StrToWxStr(OutputFileName.c_str())) &&
+ if (wxFileExists(StrToWxStr(OutputFileName)) &&
wxMessageBox(
wxString::Format(_("The file %s already exists.\nDo you wish to replace it?"),
- StrToWxStr(OutputFileName).c_str()),
+ StrToWxStr(OutputFileName)),
_("Confirm File Overwrite"),
wxYES_NO) == wxNO)
continue;