nanogui: i found a bug in nanox
Subject:
i found a bug in nanox
From:
"alex" ####@####.####
Date:
9 Dec 2005 11:10:59 +0000
Message-Id: <000801c5fcb0$e3cace90$060aa8c0@xvisiontech.com>
I think there has some problems in Microwindows-9.1 -->winuser.c-->MwDestroyWindow()
line465,as below:
/* Remove all messages from msg queue for this window*/
for(p=mwMsgHead.head; p; ) {
pmsg = GdItemAddr(p, MSG, link);
if(pmsg->hwnd == wp) {
p = p->next;
GdListRemove(&mwMsgHead, &pmsg->link);
GdItemFree(p); //this line is wrong!!!!!!
} else
p = p->next;
}
" GdItemFree(p);" should be "GdItemFree(pmsg)"!!
Am i right?