Fix incorrect (and useless) conversion of a wxString to and from std::string.

This useless conversion breaks non ASCII8 strings.
This commit is contained in:
jean-pierre charras
2020-08-05 18:34:49 +02:00
parent c30739dff3
commit ea71d9db81
+1 -1
View File
@@ -339,7 +339,7 @@ wxString SETTINGS_MANAGER::GetPathForSettingsFile( JSON_SETTINGS* aSettings )
return GetUserSettingsPath();
case SETTINGS_LOC::PROJECT:
return std::string( Prj().GetProjectPath() );
return Prj().GetProjectPath();
case SETTINGS_LOC::COLORS:
return GetColorSettingsPath();