diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GUI/ConfigDlg.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GUI/ConfigDlg.cpp index 496c726649..3682f04d6c 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GUI/ConfigDlg.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GUI/ConfigDlg.cpp @@ -203,5 +203,5 @@ void ConfigDialog::DumpTexturesChange(wxCommandEvent& event) void ConfigDialog::TexturePathChange(wxFileDirPickerEvent& event) { //note: if a user inputs an incorrect path, this event wil not be fired. - strcpy(g_Config.texDumpPath,event.GetPath().c_str()); + strcpy(g_Config.texDumpPath,event.GetPath().mb_str()); }