Ignore:
Timestamp:
Jan 8, 2000, 5:53:38 PM (26 years ago)
Author:
sandervl
Message:

Message translation bugfixes

File:
1 edited

Legend:

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

    r2371 r2378  
    1 /* $Id: oslibmsg.cpp,v 1.22 2000-01-08 14:15:06 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.23 2000-01-08 16:53:38 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    174174        memcpy(&os2msg, MsgThreadPtr, sizeof(QMSG));
    175175        MsgThreadPtr->time = -1;
    176         if(os2msg.hwnd || os2msg.msg == WM_QUIT) {
     176        if(msg->hwnd) {
    177177            thdb->nrOfMsgs = 1;
    178178            thdb->msgstate++; //odd -> next call to our PM window handler should dispatch the translated msg
    179179            memcpy(&thdb->msg, msg, sizeof(MSG));
     180        }
     181        if(os2msg.hwnd || os2msg.msg == WM_QUIT) {
    180182            return (LONG)WinDispatchMsg(thdb->hab, &os2msg);
    181183        }
Note: See TracChangeset for help on using the changeset viewer.