diff options
author | Pixel <pixel@nobis-crew.org> | 2009-05-17 06:36:17 +0000 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-05-17 06:36:17 +0000 |
commit | 5a6c1769f28dae1e6f417b00ba8d7f2fab1c099e (patch) | |
tree | 2717412588aec3c48d0f39b507b0a2559456a2ca | |
parent | 2d0d6175208b8567b8bb306ebba79da1fe7f1e3c (diff) |
mpq-file reading fix.
-rw-r--r-- | mpq-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -197,7 +197,7 @@ uint32_t mpqlib_read(struct mpq_file_t * mpq_f, void * _buffer, uint32_t size) { if (sector_begin == sector_end) { memcpy(buffer, mpq_f->buffer + first_sector_begins, size); mpq_f->cursor += size; - return_size = size; + return_size += size; break; } |