Fix the better solution. This makes it an even better solution
This commit is contained in:
parent
bdb06c4d6e
commit
1f281119df
@ -341,6 +341,11 @@ static void create_csv_line(LayerElement *layer_element, char *line_buffer, size
|
|||||||
layer, color.red, color.green,
|
layer, color.red, color.green,
|
||||||
color.blue, color.alpha, (export == TRUE ? 1 : 0), name);
|
color.blue, color.alpha, (export == TRUE ? 1 : 0), name);
|
||||||
/* Fix broken locale settings */
|
/* 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++) {
|
for (i = 0; string->str[i]; i++) {
|
||||||
if (string->str[i] == ':')
|
if (string->str[i] == ':')
|
||||||
string->str[i] = ',';
|
string->str[i] = ',';
|
||||||
|
Loading…
Reference in New Issue
Block a user