Skip to content

Commit

Permalink
Fix some endlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 6, 2017
1 parent d1e40af commit 34009cf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/platform_os2.c
Expand Up @@ -178,15 +178,15 @@ static int is_cdrom_drive(ULONG drive)
APIRET rc;
HFILE hfile = NULLHANDLE;
unsigned char drivename[3] = { 0, ':', '\0' };

drivename[0] = 'A' + drive;


drivename[0] = 'A' + drive;

rc = DosOpen(drivename, &hfile, &ul1, 0, 0,
OPEN_ACTION_OPEN_IF_EXISTS | OPEN_ACTION_FAIL_IF_NEW,
OPEN_FLAGS_DASD | OPEN_FLAGS_FAIL_ON_ERROR |
OPEN_FLAGS_NOINHERIT | OPEN_SHARE_DENYNONE, NULL);
if (rc != NO_ERROR)
return 0;
if (rc != NO_ERROR)
return 0;

data = 0;
param = PHYSFS_swapULE32(CD01);
Expand Down

0 comments on commit 34009cf

Please sign in to comment.