gids: Fix broken check in GIDS emulation

This commit is contained in:
Martin Fleisz 2022-05-13 12:08:50 +02:00 committed by akallabeth
parent 8486821514
commit 372153bba3

View File

@ -376,7 +376,7 @@ static BOOL vgids_ef_read_do(vgidsEF* ef, UINT16 doID, BYTE** data, DWORD* dataS
else
doSize = len;
if (Stream_CheckAndLogRequiredLength(TAG, ef->data, doSize))
if (!Stream_CheckAndLogRequiredLength(TAG, ef->data, doSize))
return FALSE;
if (nextDOID == doID)