Ignore:
Timestamp:
Mar 14, 2000, 4:01:00 PM (25 years ago)
Author:
sandervl
Message:

combobox bug fixes (rp7 infinite loop)

File:
1 edited

Legend:

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

    r3101 r3108  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.23 2000-03-13 13:10:46 sandervl Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.24 2000-03-14 15:01:00 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    195195        if(ISMOUSE_CAPTURED())
    196196        {
    197             if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
     197            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) {
    198198                goto dummymessage; //dinput swallowed message
     199            }
    199200        }
    200201
     
    231232        if(ISMOUSE_CAPTURED())
    232233        {
    233             if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
     234            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) {
    234235                goto dummymessage; //dinput swallowed message
     236            }
    235237        }
    236238        //OS/2 Window coordinates -> Win32 Window coordinates
     
    449451        if(ISMOUSE_CAPTURED())
    450452        {
    451             if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
     453            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) {
    452454                goto dummymessage; //dinput swallowed message
     455            }
    453456        }
    454457
     
    485488        if(ISMOUSE_CAPTURED())
    486489        {
    487             if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y))
     490            if(DInputMouseHandler(win32wnd->getWindowHandle(), winMsg->message, winMsg->pt.x, winMsg->pt.y)) {
    488491                goto dummymessage; //dinput swallowed message
     492            }
    489493        }
    490494        //OS/2 Window coordinates -> Win32 Window coordinates
     
    645649        if(ISKDB_CAPTURED())
    646650        {
    647             if(DInputKeyBoardHandler(winMsg))
     651            if(DInputKeyBoardHandler(winMsg)) {
    648652                goto dummymessage; //dinput swallowed message
     653            }
    649654        }
    650655        break;
     
    741746    default:
    742747dummymessage:
     748        winMsg->message = 0;
     749        winMsg->wParam  = 0;
     750        winMsg->lParam  = 0;
    743751        return FALSE;
    744752  }
Note: See TracChangeset for help on using the changeset viewer.