clipboard atoms

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Tue Feb 17 18:58:09 CST 2004


ChangeLog:
    Advance index as we set the atom values
-------------- next part --------------
Index: dlls/x11drv/clipboard.c
===================================================================
RCS file: /home/wine/wine/dlls/x11drv/clipboard.c,v
retrieving revision 1.21
diff -u -w -r1.21 clipboard.c
--- dlls/x11drv/clipboard.c	20 Jan 2004 22:48:57 -0000	1.21
+++ dlls/x11drv/clipboard.c	18 Feb 2004 00:55:18 -0000
@@ -321,7 +321,7 @@
     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 );


More information about the wine-patches mailing list