Advance index as we set the atom values.

This commit is contained in:
Ulrich Czekalla 2004-02-19 01:10:16 +00:00 committed by Alexandre Julliard
parent a41017f81d
commit 0bc05d41a3

View file

@ -321,7 +321,7 @@ static void intern_atoms(void)
wine_tsx11_unlock();
for (format = ClipFormats, i = 0; format; format = format->NextFormat)
if (!format->drvData) format->drvData = atoms[i];
if (!format->drvData) format->drvData = atoms[i++];
HeapFree( GetProcessHeap(), 0, names );
HeapFree( GetProcessHeap(), 0, atoms );