changeset 562:1b709b879181

Minor fix to _free_window_memory() to not incorrectly try to free box items from desktop windows which have no box, the box is on the client.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 21 Apr 2004 06:14:48 +0000
parents c0a708e2cba3
children d7c61755a57b
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Wed Apr 21 05:33:51 2004 +0000
+++ b/os2/dw.c	Wed Apr 21 06:14:48 2004 +0000
@@ -378,7 +378,7 @@
 
 		WinQueryClassName(handle, 99, tmpbuf);
 
-		if(strncmp(tmpbuf, "#1", 3)==0)
+		if(strncmp(tmpbuf, "#1", 3)==0 && !WinWindowFromID(handle, FID_CLIENT))
 		{
 			Box *box = (Box *)ptr;