diff options
Diffstat (limited to 'Source/Core/DolphinWX/PatchAddEdit.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/PatchAddEdit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/PatchAddEdit.cpp b/Source/Core/DolphinWX/PatchAddEdit.cpp index c7e8e0677b..2dd3454d77 100644 --- a/Source/Core/DolphinWX/PatchAddEdit.cpp +++ b/Source/Core/DolphinWX/PatchAddEdit.cpp @@ -72,7 +72,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection) EditPatchName->SetValue(currentName); wxStaticText* EditPatchOffsetText = new wxStaticText(this, ID_EDITPATCH_OFFSET_TEXT, _("Offset:")); EditPatchOffset = new wxTextCtrl(this, ID_EDITPATCH_OFFSET); - EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), tempEntries.at(0).address)); + EditPatchOffset->SetValue(wxString::Format("%08X", tempEntries.at(0).address)); EntrySelection = new wxSpinButton(this, ID_ENTRY_SELECT); EntrySelection->SetRange(0, (int)tempEntries.size()-1); EntrySelection->SetValue((int)tempEntries.size()-1); @@ -83,7 +83,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection) EditPatchType->SetSelection((int)tempEntries.at(0).type); wxStaticText* EditPatchValueText = new wxStaticText(this, ID_EDITPATCH_VALUE_TEXT, _("Value:")); EditPatchValue = new wxTextCtrl(this, ID_EDITPATCH_VALUE); - EditPatchValue->SetValue(wxString::Format(wxT("%0*X"), PatchEngine::GetPatchTypeCharLength(tempEntries.at(0).type), tempEntries.at(0).value)); + EditPatchValue->SetValue(wxString::Format("%0*X", PatchEngine::GetPatchTypeCharLength(tempEntries.at(0).type), tempEntries.at(0).value)); wxButton *EntryAdd = new wxButton(this, ID_ENTRY_ADD, _("Add")); EntryRemove = new wxButton(this, ID_ENTRY_REMOVE, _("Remove")); if ((int)tempEntries.size() <= 1) @@ -201,9 +201,9 @@ void CPatchAddEdit::UpdateEntryCtrls(PatchEngine::PatchEntry pE) { sbEntry->GetStaticBox()->SetLabel(wxString::Format(_("Entry %d/%d"), currentItem, (int)tempEntries.size())); - EditPatchOffset->SetValue(wxString::Format(wxT("%08X"), pE.address)); + EditPatchOffset->SetValue(wxString::Format("%08X", pE.address)); EditPatchType->SetSelection(pE.type); - EditPatchValue->SetValue(wxString::Format(wxT("%0*X"), + EditPatchValue->SetValue(wxString::Format("%0*X", PatchEngine::GetPatchTypeCharLength(pE.type), pE.value)); } |
