changeset 210:b9c7b762c104

When comparing the desktop value, use the queried value not the constant.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 01 Feb 2003 10:05:27 +0000
parents 85f25e8c1b1e
children e57c182cac64
files os2/dw.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Sat Feb 01 09:53:56 2003 +0000
+++ b/os2/dw.c	Sat Feb 01 10:05:27 2003 +0000
@@ -3354,7 +3354,7 @@
 	if(!handle)
 		return -1;
 
-	if(parent != HWND_DESKTOP && thisbox && thisbox->count)
+	if(parent != desktop && thisbox && thisbox->count)
 	{
 		int z, index = -1;
 		Item *tmpitem, *thisitem = thisbox->items;