diff options
Diffstat (limited to 'qstd')
-rw-r--r-- | qstd/pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qstd/pack.c b/qstd/pack.c index e9ca0c3..3006a7d 100644 --- a/qstd/pack.c +++ b/qstd/pack.c @@ -134,6 +134,7 @@ Pack_File* pack_open_file(Pack* p, const char* name) { void pack_close_file(Pack_File* f) { fclose(f->handle); + f->handle = 0; } int pack_read(Pack_File* f, void* buf, int size) { |