diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2013-02-28 02:39:06 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2013-02-28 02:40:03 -0600 |
| commit | 03ec9a2e088b0818bf02a5bc2ffda4a512cba2b7 (patch) | |
| tree | cdc77e0e83145ee925baf0c8f404bdf894052c50 /Source/Core/DolphinWX/Src/GameListCtrl.cpp | |
| parent | 56f09d3b91479deb0f3ae3c7ce623c7a4724e087 (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.cpp | 10 |
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; |
