Skip to content

Commit

Permalink
removed fixed locale settings:
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandarancio committed Jun 30, 2018
1 parent eec2077 commit a25dee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/svg.c
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ title_to_svg(char* buffer,
char *
chart_to_svg(chart* chart)
{
setlocale(LC_ALL, "en_US");
setlocale(LC_ALL, "C");
char * buffer = malloc(1024*1024*sizeof(char));
memset(buffer, 0, 1024*1024);
svg_header(buffer, chart->width, chart->height);
Expand Down Expand Up @@ -737,6 +737,6 @@ chart_to_svg(chart* chart)
ticks_free(x_t);
ticks_free(y_t);

setlocale(LC_ALL, "C");
// setlocale(LC_ALL, "C");
return buffer;
}

0 comments on commit a25dee1

Please sign in to comment.