mirror of
https://github.com/marciot/mac-tip.git
synced 2024-12-27 20:33:20 +00:00
Whitespace fix.
This commit is contained in:
parent
bfdf0d8171
commit
4ab4a0cc90
@ -212,8 +212,8 @@ long SCSICommand(short Device, char *lpCmdBlk, void *lpIoBuf, size_t IoBufLen) {
|
|||||||
// okay, we have an SS_ERR condition, let's check the SENSE DATA
|
// okay, we have an SS_ERR condition, let's check the SENSE DATA
|
||||||
// assemble [00 ASC ASCQ SenseKey]
|
// assemble [00 ASC ASCQ SenseKey]
|
||||||
const long res = (long(sense_data.asc) << 16) |
|
const long res = (long(sense_data.asc) << 16) |
|
||||||
(long(sense_data.ascq) << 8) |
|
(long(sense_data.ascq) << 8) |
|
||||||
(long(sense_data.key) );
|
(long(sense_data.key) );
|
||||||
if(res == MEDIA_CHANGE_CODE) {
|
if(res == MEDIA_CHANGE_CODE) {
|
||||||
int index = GetDriveEntryOffset(Device);
|
int index = GetDriveEntryOffset(Device);
|
||||||
DriveArray[index].flags |= MEDIA_CHANGED;
|
DriveArray[index].flags |= MEDIA_CHANGED;
|
||||||
|
Loading…
Reference in New Issue
Block a user