mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-02 20:41:38 +00:00
No longer uses implicit error value of ImageOpen()
This commit is contained in:
parent
35f3e58882
commit
4969ed13ba
|
@ -365,7 +365,7 @@ int DiskInsert (int drive, LPCTSTR imagefilename, BOOL writeprotected, BOOL crea
|
||||||
&fptr->imagehandle,
|
&fptr->imagehandle,
|
||||||
&fptr->writeprotected,
|
&fptr->writeprotected,
|
||||||
createifnecessary);
|
createifnecessary);
|
||||||
if (!error)
|
if (error == IMAGE_ERROR_NONE)
|
||||||
GetImageTitle(imagefilename,fptr);
|
GetImageTitle(imagefilename,fptr);
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user