summaryrefslogtreecommitdiff
path: root/src/Fl_SVG_Image.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-10-15 12:34:24 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-10-15 12:34:24 +0000
commitf9cfe1378d6a98ea08f5dc412223b646deeabdaf (patch)
tree9edde610e6b371de72c73216a72ddba7c1b84334 /src/Fl_SVG_Image.cxx
parent1ff9144801ff6983eed4ce6849aa263533fe195e (diff)
Rename fl_open_ext() parameter 'translation' to 'binary'.
The default (0) is 'text' mode, non-zero is 'binary' mode on platforms that distinguish text and binary mode. Currently Windows is the only supported platform that needs this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12500 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_SVG_Image.cxx')
-rw-r--r--src/Fl_SVG_Image.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx
index 45b0f74c4..d631e6a76 100644
--- a/src/Fl_SVG_Image.cxx
+++ b/src/Fl_SVG_Image.cxx
@@ -82,7 +82,7 @@ static char *svg_inflate(const char *fname) {
struct stat b;
fl_stat(fname, &b);
long size = b.st_size;
- int fd = fl_open_ext(fname, 0, 0);
+ int fd = fl_open_ext(fname, 1, 0);
if (fd < 0) return NULL;
gzFile gzf = gzdopen(fd, "r");
if (!gzf) return NULL;