diff --git a/source/fileop.cpp b/source/fileop.cpp index 45c91af..a213648 100644 --- a/source/fileop.cpp +++ b/source/fileop.cpp @@ -751,7 +751,7 @@ LoadSzFile(char * filepath, unsigned char * rbuffer) HaltParseThread(); file = fopen (filepath, "rb"); - if (file > 0) + if (file) { size = SzExtractFile(browserList[browser.selIndex].filenum, rbuffer); fclose (file);