diff options
-rw-r--r-- | mpq-fs.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -151,6 +151,9 @@ int mpqlib_fs_filelist(char * buffer) { *(p++) = '\n'; } } while (hnext(hash_table)); + + if (p) + *p = 0; return r_size; } |