From 8522e44467ebcac54201def2c6583639e74e9e24 Mon Sep 17 00:00:00 2001 From: yazoo Date: Tue, 29 Jan 2008 07:43:06 +0000 Subject: Portage win32 --- mpq-file.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mpq-file.c') diff --git a/mpq-file.c b/mpq-file.c index f6a26d8..2088335 100644 --- a/mpq-file.c +++ b/mpq-file.c @@ -162,10 +162,11 @@ uint32_t mpqlib_read(struct mpq_file_t * mpq_f, void * _buffer, uint32_t size) { uint32_t cl_size; uint32_t offset_begin, offset_end; - __mpqlib_errno = MPQLIB_ERROR_NO_ERROR; - - uint32_t first_sector_begins, last_sector_ends; - + uint32_t first_sector_begins; + uint32_t last_sector_ends; + + __mpqlib_errno = MPQLIB_ERROR_NO_ERROR; + /* Computing various cursors and stuff. */ if ((size + mpq_f->cursor) >= mpq_f->file_size) size = mpq_f->file_size - mpq_f->cursor; -- cgit v1.2.3