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:
parent
c30739dff3
commit
ea71d9db81
|
@ -339,7 +339,7 @@ wxString SETTINGS_MANAGER::GetPathForSettingsFile( JSON_SETTINGS* aSettings )
|
||||||
return GetUserSettingsPath();
|
return GetUserSettingsPath();
|
||||||
|
|
||||||
case SETTINGS_LOC::PROJECT:
|
case SETTINGS_LOC::PROJECT:
|
||||||
return std::string( Prj().GetProjectPath() );
|
return Prj().GetProjectPath();
|
||||||
|
|
||||||
case SETTINGS_LOC::COLORS:
|
case SETTINGS_LOC::COLORS:
|
||||||
return GetColorSettingsPath();
|
return GetColorSettingsPath();
|
||||||
|
|
Loading…
Reference in New Issue