Fixed some wrong parentheses in the OS/2 code. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Thu, 28 Jan 2010 02:38:57 -0500
branchstable-2.0
changeset 1020 1b4730384fc3
parent 1019 366e2b2e6fa5
child 1022 38a62549ad4c
Fixed some wrong parentheses in the OS/2 code.
platform/os2.c
--- a/platform/os2.c	Thu Jan 28 02:36:18 2010 -0500
+++ b/platform/os2.c	Thu Jan 28 02:38:57 2010 -0500
@@ -604,13 +604,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 */
 
 
@@ -619,7 +619,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 */