Commit d8dad22c authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

setupapi: Fix typo in StringTableGetExtraData.

parent c2f99f30
......@@ -431,7 +431,7 @@ StringTableGetExtraData(HSTRING_TABLE hStringTable,
return FALSE;
}
if (pStringTable->pSlots[dwId - 1].dwSize < dwExtraDataSize)
if (pStringTable->pSlots[dwId - 1].dwSize > dwExtraDataSize)
{
ERR("Data size is too large!\n");
return FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment