nanogui: i found a bug in nanox


Previous by date: 9 Dec 2005 11:10:59 +0000 wrong colors, Takács Áron
Next by date: 9 Dec 2005 11:10:59 +0000 CVS for nxlib?, Steven Scholz
Previous in thread:
Next in thread: 9 Dec 2005 11:10:59 +0000 Re: i found a bug in nanox, Greg Haerr

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?







Previous by date: 9 Dec 2005 11:10:59 +0000 wrong colors, Takács Áron
Next by date: 9 Dec 2005 11:10:59 +0000 CVS for nxlib?, Steven Scholz
Previous in thread:
Next in thread: 9 Dec 2005 11:10:59 +0000 Re: i found a bug in nanox, Greg Haerr


Powered by ezmlm-browse 0.20.