Fix some endlines.
This commit is contained in:
parent
d1e40af4e3
commit
34009cf762
|
@ -178,15 +178,15 @@ static int is_cdrom_drive(ULONG drive)
|
||||||
APIRET rc;
|
APIRET rc;
|
||||||
HFILE hfile = NULLHANDLE;
|
HFILE hfile = NULLHANDLE;
|
||||||
unsigned char drivename[3] = { 0, ':', '\0' };
|
unsigned char drivename[3] = { 0, ':', '\0' };
|
||||||
|
|
||||||
drivename[0] = 'A' + drive;
|
drivename[0] = 'A' + drive;
|
||||||
|
|
||||||
rc = DosOpen(drivename, &hfile, &ul1, 0, 0,
|
rc = DosOpen(drivename, &hfile, &ul1, 0, 0,
|
||||||
OPEN_ACTION_OPEN_IF_EXISTS | OPEN_ACTION_FAIL_IF_NEW,
|
OPEN_ACTION_OPEN_IF_EXISTS | OPEN_ACTION_FAIL_IF_NEW,
|
||||||
OPEN_FLAGS_DASD | OPEN_FLAGS_FAIL_ON_ERROR |
|
OPEN_FLAGS_DASD | OPEN_FLAGS_FAIL_ON_ERROR |
|
||||||
OPEN_FLAGS_NOINHERIT | OPEN_SHARE_DENYNONE, NULL);
|
OPEN_FLAGS_NOINHERIT | OPEN_SHARE_DENYNONE, NULL);
|
||||||
if (rc != NO_ERROR)
|
if (rc != NO_ERROR)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
data = 0;
|
data = 0;
|
||||||
param = PHYSFS_swapULE32(CD01);
|
param = PHYSFS_swapULE32(CD01);
|
||||||
|
|
Loading…
Reference in New Issue