summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-01-18 17:25:07 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-01-18 17:25:34 +0100
commit407567b70e38bc459d868eab2aba6e3b6a080a56 (patch)
tree342ce86d32b57c2a85753f6c9cf571025015dfa8 /src
parent323d525591438ab8937edf0e1ff522d4a4af45c2 (diff)
Make Fl_SVG_Graphics_Driver use the C locale when writing float values - cont'd
Diffstat (limited to 'src')
-rw-r--r--src/drivers/SVG/Fl_SVG_File_Surface.cxx2
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_);
}