HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fail zlib-decompress-region if loading zlib on Windows failed.
[bpt/emacs.git]
/
src
/
decompress.c
diff --git
a/src/decompress.c
b/src/decompress.c
index
b7cd8a6
..
452a921
100644
(file)
--- a/
src/decompress.c
+++ b/
src/decompress.c
@@
-146,6
+146,8
@@
This function can be called only in unibyte buffers. */)
#ifdef WINDOWSNT
if (!zlib_initialized)
zlib_initialized = init_zlib_functions ();
+ if (!zlib_initialized)
+ return Qnil;
#endif
/* This is a unibyte buffer, so character positions and bytes are