diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/decompress.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 70a1fa28db5..1cb8002ccf7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-08-13 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * decompress.c (Fzlib_decompress_region) [WINDOWSNT]: Return Qnil | ||
| 4 | if loading zlib failed. | ||
| 5 | |||
| 1 | 2013-08-13 Jan Djärv <jan.h.d@swipnet.se> | 6 | 2013-08-13 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 7 | ||
| 3 | * nsterm.m (ns_set_vertical_scroll_bar): Fix breakage intruduced by | 8 | * nsterm.m (ns_set_vertical_scroll_bar): Fix breakage intruduced by |
diff --git a/src/decompress.c b/src/decompress.c index b7cd8a6c404..452a9210402 100644 --- a/src/decompress.c +++ b/src/decompress.c | |||
| @@ -146,6 +146,8 @@ This function can be called only in unibyte buffers. */) | |||
| 146 | #ifdef WINDOWSNT | 146 | #ifdef WINDOWSNT |
| 147 | if (!zlib_initialized) | 147 | if (!zlib_initialized) |
| 148 | zlib_initialized = init_zlib_functions (); | 148 | zlib_initialized = init_zlib_functions (); |
| 149 | if (!zlib_initialized) | ||
| 150 | return Qnil; | ||
| 149 | #endif | 151 | #endif |
| 150 | 152 | ||
| 151 | /* This is a unibyte buffer, so character positions and bytes are | 153 | /* This is a unibyte buffer, so character positions and bytes are |