diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-08-17 20:18:07 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-08-17 20:18:07 +0300 |
commit | d2c28fab135742b98466345f933c2f0c1608569c (patch) | |
tree | 6947a302640491fdb91b02deacc51ad65e4c1f55 /src/decompress.c | |
parent | ad6643fe1ac9cd2edda745699fc9b6a119f940af (diff) | |
download | emacs-d2c28fab135742b98466345f933c2f0c1608569c.tar.gz |
Fix a minor issue with loading zlib DLL on MS-Windows.
src/decompress.c (Fzlib_available_p) [WINDOWSNT]: Update the value
of zlib_initialized according to the results of calling
init_zlib_functions.
Diffstat (limited to 'src/decompress.c')
-rw-r--r-- | src/decompress.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decompress.c b/src/decompress.c index 0212354fc8f..c49f39a8ba1 100644 --- a/src/decompress.c +++ b/src/decompress.c @@ -116,7 +116,8 @@ DEFUN ("zlib-available-p", Fzlib_available_p, Szlib_available_p, 0, 0, 0, else { Lisp_Object status; - status = init_zlib_functions () ? Qt : Qnil; + zlib_initialized = init_zlib_functions (); + status = zlib_initialized ? Qt : Qnil; Vlibrary_cache = Fcons (Fcons (Qzlib_dll, status), Vlibrary_cache); return status; } |