From 1f281119dfef3a0e25bd92367f0cc366411a5543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 3 Feb 2019 22:47:34 +0100 Subject: [PATCH] Fix the better solution. This makes it an even better solution --- layer-selector.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layer-selector.c b/layer-selector.c index 3218096..cac149b 100644 --- a/layer-selector.c +++ b/layer-selector.c @@ -341,6 +341,11 @@ static void create_csv_line(LayerElement *layer_element, char *line_buffer, size layer, color.red, color.green, color.blue, color.alpha, (export == TRUE ? 1 : 0), name); /* Fix broken locale settings */ + for (i = 0; string->str[i]; i++) { + if (string->str[i] == ',') + string->str[i] = '.'; + } + for (i = 0; string->str[i]; i++) { if (string->str[i] == ':') string->str[i] = ',';