diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-10-15 12:34:24 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2017-10-15 12:34:24 +0000 |
| commit | f9cfe1378d6a98ea08f5dc412223b646deeabdaf (patch) | |
| tree | 9edde610e6b371de72c73216a72ddba7c1b84334 /src/fl_images_core.cxx | |
| parent | 1ff9144801ff6983eed4ce6849aa263533fe195e (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_images_core.cxx')
| -rw-r--r-- | src/fl_images_core.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_images_core.cxx b/src/fl_images_core.cxx index 0aa5bc49d..06930d17c 100644 --- a/src/fl_images_core.cxx +++ b/src/fl_images_core.cxx @@ -95,7 +95,7 @@ fl_check_images(const char *name, // I - Filename #ifdef FLTK_USE_NANOSVG # if defined(HAVE_LIBZ) if (header[0] == 0x1f && header[1] == 0x8b) { // denotes gzip'ed data - int fd = fl_open_ext(name, 0, 0); + int fd = fl_open_ext(name, 1, 0); if (fd < 0) return NULL; gzFile gzf = gzdopen(fd, "r"); if (gzf) { |
