No longer uses implicit error value of ImageOpen()

This commit is contained in:
mpohoreski 2006-03-09 21:47:44 +00:00
parent 35f3e58882
commit 4969ed13ba
1 changed files with 1 additions and 1 deletions

View File

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