diff options
-rw-r--r-- | apps/plugins/mikmod/mmio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/plugins/mikmod/mmio.c b/apps/plugins/mikmod/mmio.c index 40f38d997d..0ffecffd2f 100644 --- a/apps/plugins/mikmod/mmio.c +++ b/apps/plugins/mikmod/mmio.c | |||
@@ -138,7 +138,6 @@ static int _mm_FileReader_Eof(MREADER* reader) | |||
138 | //return feof(((MFILEREADER*)reader)->file); | 138 | //return feof(((MFILEREADER*)reader)->file); |
139 | int size = filesize(((MFILEREADER*)reader)->file); | 139 | int size = filesize(((MFILEREADER*)reader)->file); |
140 | int offset = lseek(((MFILEREADER*)reader)->file, 0, SEEK_CUR); | 140 | int offset = lseek(((MFILEREADER*)reader)->file, 0, SEEK_CUR); |
141 | return offset < 0; | ||
142 | return (size <= 0 || offset < 0 || offset >= size) ? 1 : 0; | 141 | return (size <= 0 || offset < 0 || offset >= size) ? 1 : 0; |
143 | } | 142 | } |
144 | 143 | ||