aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/decompress.c10
2 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b57c76d5e3f..7a6b38f3b90 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12014-10-07 Eli Zaretskii <eliz@gnu.org>
2
3 * decompress.c (init_zlib_functions): Move the message about zlib
4 being unavailable from here...
5 (Fzlib_decompress_region): ...to here. (Bug#18650)
6
12014-10-07 Dmitry Antipov <dmantipov@yandex.ru> 72014-10-07 Dmitry Antipov <dmantipov@yandex.ru>
2 8
3 * font.c (Ffont_get_glyphs): Use validate_subarray and fix 9 * font.c (Ffont_get_glyphs): Use validate_subarray and fix
diff --git a/src/decompress.c b/src/decompress.c
index cd8a3d1e962..24ce852245c 100644
--- a/src/decompress.c
+++ b/src/decompress.c
@@ -60,10 +60,7 @@ init_zlib_functions (void)
60 HMODULE library = w32_delayed_load (Qzlib_dll); 60 HMODULE library = w32_delayed_load (Qzlib_dll);
61 61
62 if (!library) 62 if (!library)
63 { 63 return false;
64 message1 ("zlib library not found");
65 return false;
66 }
67 64
68 LOAD_ZLIB_FN (library, inflateInit2_); 65 LOAD_ZLIB_FN (library, inflateInit2_);
69 LOAD_ZLIB_FN (library, inflate); 66 LOAD_ZLIB_FN (library, inflate);
@@ -150,7 +147,10 @@ This function can be called only in unibyte buffers. */)
150 if (!zlib_initialized) 147 if (!zlib_initialized)
151 zlib_initialized = init_zlib_functions (); 148 zlib_initialized = init_zlib_functions ();
152 if (!zlib_initialized) 149 if (!zlib_initialized)
153 return Qnil; 150 {
151 message1 ("zlib library not found");
152 return Qnil;
153 }
154#endif 154#endif
155 155
156 /* This is a unibyte buffer, so character positions and bytes are 156 /* This is a unibyte buffer, so character positions and bytes are