diff --git a/AppleWin/source/Disk.cpp b/AppleWin/source/Disk.cpp index 6a755103..672936a6 100644 --- a/AppleWin/source/Disk.cpp +++ b/AppleWin/source/Disk.cpp @@ -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; }