Fix some endlines.

This commit is contained in:
Ryan C. Gordon 2017-07-06 00:04:10 -04:00
parent d1e40af4e3
commit 34009cf762
1 changed files with 5 additions and 5 deletions

View File

@ -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);