[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] i found a bug in nanox
From: "Greg Haerr" ####@####.#### Date: 9 Dec 2005 17:43:42 +0000 Message-Id: <0be101c5fce8$0e00e8c0$6401a8c0@gregnewport> > " GdItemFree(p);" should be "GdItemFree(pmsg)"!! Yes - you're right. This has been fixed in CVS for some time. If you're running win32 API, the CVS version has quite a few enhancements, including support for dialogs. Regards, Greg | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: [nanogui] i found a bug in nanox
From: Alexander Neundorf ####@####.#### Date: 9 Dec 2005 18:04:25 +0000 Message-Id: <200512091808.30162.neundorf@kde.org> On Friday 09 December 2005 12:08, alex wrote: > 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)"!! I think it is already fixed in current cvs. Bye Alex -- Work: ####@####.#### - http://www.jenoptik-los.de Home: ####@####.#### - http://www.kde.org ####@####.#### - http://www.neundorf.net | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |