summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Src/PatchAddEdit.cpp
diff options
context:
space:
mode:
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;
}