comparison os2/dw.c @ 31:17a08cfd45d2

Check that tmp is not NULL before checking for tree-select signal.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 25 Aug 2001 17:08:01 +0000
parents b1d7e8a28dfa
children 72675de7d229
comparison
equal deleted inserted replaced
30:b1d7e8a28dfa 31:17a08cfd45d2
1431 } 1431 }
1432 break; 1432 break;
1433 } 1433 }
1434 } 1434 }
1435 1435
1436 if(origmsg == WM_BUTTON1DOWN) 1436 if(tmp && origmsg == WM_BUTTON1DOWN)
1437 { 1437 {
1438 if(tmp->message == WM_USER+1) 1438 if(tmp->message == WM_USER+1)
1439 { 1439 {
1440 if(tmp->window == hWnd) 1440 if(tmp->window == hWnd)
1441 { 1441 {