| author | David Anderson <dvander@alliedmods.net> |
| Thu Apr 29 01:28:11 2010 -0700 (2010-04-29) | |
| changeset 2964 | 1067c471a8a2 |
| parent 2961 | c3bb13e8760b |
| child 2965 | ce427264aa99 |
1.1 --- a/core/MenuStyle_Base.cpp Tue Apr 27 23:40:04 2010 -0700 1.2 +++ b/core/MenuStyle_Base.cpp Thu Apr 29 01:28:11 2010 -0700 1.3 @@ -377,7 +377,7 @@ 1.4 RemoveClientFromWatch(client); 1.5 } 1.6 1.7 - Handle_t hndl = menu->GetHandle(); 1.8 + Handle_t hndl = menu ? menu->GetHandle() : BAD_HANDLE; 1.9 AutoHandleRooter ahr(hndl); 1.10 1.11 if (cancel)