From c973e5a46b73a34deeb330664293a28149157515 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 28 Jan 2010 02:38:57 -0500 Subject: [PATCH] Fixed some wrong parentheses in the OS/2 code. (transplanted from 1b4730384fc3b006d84c267fcd3e948510740ecf) --- platform/os2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/os2.c b/platform/os2.c index c3a23ba..bd9b86d 100644 --- a/platform/os2.c +++ b/platform/os2.c @@ -662,13 +662,13 @@ int __PHYSFS_platformEOF(void *opaque) 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 @@ int __PHYSFS_platformDelete(const char *path) if (__PHYSFS_platformIsDirectory(path)) return(os2err(DosDeleteDir(path)) == NO_ERROR); - return(os2err(DosDelete(path) == NO_ERROR)); + return(os2err(DosDelete(path)) == NO_ERROR); } /* __PHYSFS_platformDelete */