[xorg-commit-diffs] xc/programs/Xserver/hw/xwin
winmultiwindowicons.c, 1.1.6.5, 1.1.6.6
Earle Philhower
xorg-commit at pdx.freedesktop.org
Wed Apr 14 22:11:35 PDT 2004
Committed by: earle
Update of /cvs/xorg/xc/programs/Xserver/hw/xwin
In directory pdx:/tmp/cvs-serv20174
Modified Files:
Tag: CYGWIN
winmultiwindowicons.c
Log Message:
Apply Kensuke's GDI leak fix [DeleteObject(icon)->DestroyIcon(icon)]
Index: winmultiwindowicons.c
===================================================================
RCS file: /cvs/xorg/xc/programs/Xserver/hw/xwin/winmultiwindowicons.c,v
retrieving revision 1.1.6.5
retrieving revision 1.1.6.6
diff -u -d -r1.1.6.5 -r1.1.6.6
--- a/winmultiwindowicons.c 26 Mar 2004 16:05:51 -0000 1.1.6.5
+++ b/winmultiwindowicons.c 15 Apr 2004 05:11:33 -0000 1.1.6.6
@@ -385,7 +385,7 @@
/* Delete the icon if its not the default */
if (hiconOld != g_hiconX &&
!winIconIsOverride((unsigned long)hiconOld))
- DeleteObject (hiconOld);
+ DestroyIcon (hiconOld);
}
}
}
More information about the xorg-commit-diffs
mailing list