mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-08-18 22:42:14 +00:00
No longer uses implicit error value of ImageOpen()
This commit is contained in:
@@ -365,7 +365,7 @@ int DiskInsert (int drive, LPCTSTR imagefilename, BOOL writeprotected, BOOL crea
|
||||
&fptr->imagehandle,
|
||||
&fptr->writeprotected,
|
||||
createifnecessary);
|
||||
if (!error)
|
||||
if (error == IMAGE_ERROR_NONE)
|
||||
GetImageTitle(imagefilename,fptr);
|
||||
return error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user