Ignore:
Timestamp:
May 9, 2000, 8:56:59 PM (25 years ago)
Author:
sandervl
Message:

lots of changes/fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/menu.cpp

    r3225 r3501  
    1 /* $Id: menu.cpp,v 1.20 2000-03-24 19:20:33 sandervl Exp $*/
     1/* $Id: menu.cpp,v 1.21 2000-05-09 18:56:56 sandervl Exp $*/
    22/*
    33 * Menu functions
     
    15991599            if (!pTopPopupWnd)
    16001600            {
     1601                DebugInt3();
    16011602                return FALSE;
    16021603            }
     
    16151616                if( !menu->hWnd )
    16161617                {
     1618                    DebugInt3();
    16171619                    return FALSE;
    16181620                }
     
    21832185   {
    21842186        Win32BaseWindow *win32wnd = Win32BaseWindow::GetWindowFromHandle(menu->hWnd);
    2185         if(win32wnd==NULL)
    2186                 DebugInt3();
     2187        if(win32wnd==NULL) {
     2188            //SvL: This happens in Moraff's YourJongg 2.0, return here
     2189            //TODO: Check if this is supposed to happen at all...
     2190            return (HMENU)0;
     2191        }
    21872192
    21882193        ht = win32wnd->HandleNCHitTest(pt);
Note: See TracChangeset for help on using the changeset viewer.