summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/PatchAddEdit.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/PatchAddEdit.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/PatchAddEdit.cpp')
-rw-r--r--Source/Core/DolphinWX/Src/PatchAddEdit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/PatchAddEdit.cpp b/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
index 3199240d74..ead7918d34 100644
--- a/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
+++ b/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
@@ -49,7 +49,7 @@ void CPatchAddEdit::CreateGUIControls(int _selection)
}
else
{
- currentName = StrToWxStr(onFrame.at(_selection).name.c_str());
+ currentName = StrToWxStr(onFrame.at(_selection).name);
tempEntries = onFrame.at(_selection).entries;
}