diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-01-18 17:25:07 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2025-01-18 17:25:34 +0100 |
| commit | 407567b70e38bc459d868eab2aba6e3b6a080a56 (patch) | |
| tree | 342ce86d32b57c2a85753f6c9cf571025015dfa8 | |
| parent | 323d525591438ab8937edf0e1ff522d4a4af45c2 (diff) | |
Make Fl_SVG_Graphics_Driver use the C locale when writing float values - cont'd
| -rw-r--r-- | src/drivers/SVG/Fl_SVG_File_Surface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/SVG/Fl_SVG_File_Surface.cxx b/src/drivers/SVG/Fl_SVG_File_Surface.cxx index 249ff0ae1..2a1439f74 100644 --- a/src/drivers/SVG/Fl_SVG_File_Surface.cxx +++ b/src/drivers/SVG/Fl_SVG_File_Surface.cxx @@ -183,7 +183,7 @@ void Fl_SVG_Graphics_Driver::rect(int x, int y, int w, int h) { } void Fl_SVG_Graphics_Driver::rectf(int x, int y, int w, int h) { - fprintf(out_, "<rect x=\"%.3f\" y=\"%.3f\" width=\"%d\" height=\"%d\" " + clocale_fprintf(out_, "<rect x=\"%.3f\" y=\"%.3f\" width=\"%d\" height=\"%d\" " "fill=\"rgb(%u,%u,%u)\" />\n", x-.5, y-.5, w, h, red_, green_, blue_); } |
