Fix the better solution. This makes it an even better solution

This commit is contained in:
Mario Hüttel 2019-02-03 22:47:34 +01:00
parent bdb06c4d6e
commit 1f281119df

View File

@ -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] = ',';