Usermode/AxWin3 - Duplicate renderer detection, debug changes
[tpg/acess2.git] / Usermode / Applications / axwin3_src / WM / decorator.c
index d0dd264..add812c 100644 (file)
@@ -162,7 +162,7 @@ int Decorator_HandleMessage(tWindow *Window, int Message, int Length, const void
        case WNDMSG_MOUSEMOVE: {
                const struct sWndMsg_MouseMove  *msg = Data;
 
-               if( btn1_down == Window )
+               if( Window && btn1_down == Window )
                {
                        switch(btn1_mode)
                        {

UCC git Repository :: git.ucc.asn.au