Browse Source

* Fix build for systems with no zlib-devel.

pull/1/head
Sam Hocevar sam 18 years ago
parent
commit
ba2b3587c5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/io.c

+ 1
- 1
src/io.c View File

@@ -100,7 +100,7 @@ TOIFILE *toiopen(char const *path, const char *mode)
#else
toif->f = fopen(path, mode);

if(!f)
if(!toif->f)
{
free(toif);
return NULL;


Loading…
Cancel
Save