X-Git-Url: https://git.pterodactylus.net/?p=synfig.git;a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgui%2Fstates%2Fstate_smoothmove.cpp;fp=synfig-studio%2Fsrc%2Fgui%2Fstates%2Fstate_smoothmove.cpp;h=36bfecde82ee06909b6f4d392e392c1c806fb372;hp=3b4f36ca08c4f16ac5c6d70797cedd06a17599dc;hb=477fd4ea9c6133e098572554a9eadbf503e27fab;hpb=e141439cbbdfbd8c711386d988d398bb2f2ee47a diff --git a/synfig-studio/src/gui/states/state_smoothmove.cpp b/synfig-studio/src/gui/states/state_smoothmove.cpp index 3b4f36c..36bfecd 100644 --- a/synfig-studio/src/gui/states/state_smoothmove.cpp +++ b/synfig-studio/src/gui/states/state_smoothmove.cpp @@ -157,14 +157,13 @@ StateSmoothMove_Context::load_settings() { try { - SETTINGS_LOCALE_SAFE_AND_BACKUP + synfig::ChangeLocale change_locale(LC_NUMERIC, "C"); String value; if(settings.get_value("smooth_move.radius",value)) set_radius(atof(value.c_str())); else set_radius(1.0f); - SETTINGS_LOCALE_RESTORE } catch(...) { @@ -177,9 +176,8 @@ StateSmoothMove_Context::save_settings() { try { - SETTINGS_LOCALE_SAFE_AND_BACKUP + synfig::ChangeLocale change_locale(LC_NUMERIC, "C"); settings.set_value("smooth_move.radius",strprintf("%f",get_radius())); - SETTINGS_LOCALE_RESTORE } catch(...) {