Hello, sorry to replay so late but I didn't had the time to test your patch before.
On Fri, Feb 22, 2002 at 08:39:39PM -0500, Dave Hawkes wrote: > The hotspot handling in imagelist is broken. This fix partially repairs it. ... and breaks it too. With your patch the hotspot handling in FreeSolitaire is broken. The attached patch reverts a small portion of your patch and fixes the recursion. For what do you need bHSPending? With the recursion removed it's pretty useless. bye michael -- Michael Stefaniuc Tel.: +49-711-96437-199 System Administration Fax.: +49-711-96437-111 Red Hat GmbH Email: [EMAIL PROTECTED] Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart
Index: imagelist.c =================================================================== RCS file: /home/wine/wine/dlls/comctl32/imagelist.c,v retrieving revision 1.49 diff -u -r1.49 imagelist.c @@ -2614,14 +2616,13 @@ * dxHotspot, dyHotspot is the offset of THE Hotspot (there is only one * hotspot) to the origin of the second image. * See M$DN for details */ + dx = InternalDrag.dxHotspot - dxHotspot; + dy = InternalDrag.dyHotspot - dyHotspot; + if(InternalDrag.bHSPending) { - dx = 0; - dy = 0; InternalDrag.bHSPending = FALSE; - } else { - dx = InternalDrag.dxHotspot - dxHotspot; - dy = InternalDrag.dyHotspot - dyHotspot; } + himlTemp = ImageList_Merge (InternalDrag.himl, 0, himlDrag, iDrag, dx, dy); if (visible) {
msg08210/pgp00000.pgp
Description: PGP signature