From 0bc05d41a3f6f9369d45fc61823b8e82fe72c04d Mon Sep 17 00:00:00 2001 From: Ulrich Czekalla Date: Thu, 19 Feb 2004 01:10:16 +0000 Subject: [PATCH] Advance index as we set the atom values. --- dlls/x11drv/clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/x11drv/clipboard.c b/dlls/x11drv/clipboard.c index 9a143895525..957f97cbbed 100644 --- a/dlls/x11drv/clipboard.c +++ b/dlls/x11drv/clipboard.c @@ -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 );