From ee08baca0376abf52c548ceb2c8f817375943ab4 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 9 May 2020 19:36:56 +0200 Subject: [PATCH] Eeschema: fix issue when saving a S expr symbol library in countries using comma as fp separator Fixes #4381 https://gitlab.com/kicad/code/kicad/issues/4381 --- eeschema/sch_sexpr_plugin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeschema/sch_sexpr_plugin.cpp b/eeschema/sch_sexpr_plugin.cpp index ce750851b0..839c281aab 100644 --- a/eeschema/sch_sexpr_plugin.cpp +++ b/eeschema/sch_sexpr_plugin.cpp @@ -1399,6 +1399,8 @@ void SCH_SEXPR_PLUGIN_CACHE::Save() if( !m_isModified ) return; + LOCALE_IO toggle; // toggles on, then off, the C locale. + // Write through symlinks, don't replace them. wxFileName fn = GetRealFile();