Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed some wrong parentheses in the OS/2 code.
  • Loading branch information
icculus committed Jan 28, 2010
1 parent d4c4a06 commit 57a04af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions platform/os2.c
Expand Up @@ -604,13 +604,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 */


Expand All @@ -619,7 +619,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 */


Expand Down

0 comments on commit 57a04af

Please sign in to comment.