gdi32: Initialize the handle table.

Fixes Valgrind warning: 'Conditional jump or move depends on
uninitialised value(s)' in metafile test.
This commit is contained in:
Huw Davies 2008-06-09 13:39:16 +01:00 committed by Alexandre Julliard
parent aceb12265f
commit 82c7ff811e
1 changed files with 2 additions and 0 deletions

View File

@ -2301,6 +2301,8 @@ BOOL WINAPI EnumEnhMetaFile(
ht = (HANDLETABLE*) &info[1];
ht->objectHandle[0] = hmf;
for(i = 1; i < emh->nHandles; i++)
ht->objectHandle[i] = NULL;
if(hdc)
{