Fixed some wrong parentheses in the OS/2 code. stable-1.0
authorRyan C. Gordon <icculus@icculus.org>
Thu, 28 Jan 2010 02:38:57 -0500
branchstable-1.0
changeset 1021 7facbc5f4192
parent 967 7f18177e959b
child 1023 024b940b32a9
Fixed some wrong parentheses in the OS/2 code. (transplanted from 1b4730384fc3b006d84c267fcd3e948510740ecf)
platform/os2.c
--- a/platform/os2.c	Mon Mar 23 01:43:14 2009 -0400
+++ b/platform/os2.c	Thu Jan 28 02:38:57 2010 -0500
@@ -662,13 +662,13 @@
 
 int __PHYSFS_platformFlush(void *opaque)
 {
-    return(os2err(DosResetBuffer((HFILE) opaque) == NO_ERROR));
+    return(os2err(DosResetBuffer((HFILE) opaque)) == NO_ERROR);
 } /* __PHYSFS_platformFlush */
 
 
 int __PHYSFS_platformClose(void *opaque)
 {
-    return(os2err(DosClose((HFILE) opaque) == NO_ERROR));
+    return(os2err(DosClose((HFILE) opaque)) == NO_ERROR);
 } /* __PHYSFS_platformClose */
 
 
@@ -677,7 +677,7 @@
     if (__PHYSFS_platformIsDirectory(path))
         return(os2err(DosDeleteDir(path)) == NO_ERROR);
 
-    return(os2err(DosDelete(path) == NO_ERROR));
+    return(os2err(DosDelete(path)) == NO_ERROR);
 } /* __PHYSFS_platformDelete */