Changeset 21527 for trunk/src/user32


Ignore:
Timestamp:
Dec 21, 2010, 1:32:21 AM (15 years ago)
Author:
dmik
Message:

user32: Fixed: GetMessage/PeekMessage could fail if filter was specified.

File:
1 edited

Legend:

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

    r21502 r21527  
    348348            ULONG tmp = filtermin;
    349349            filtermin = filtermax;
    350             filtermax = filtermin;
     350            filtermax = tmp;
    351351        }
    352352        do {
     
    520520            // only supposed to be called upon WM_KEYDOWN
    521521            // and WM_KEYUP according to docs.
    522                         dprintf(("OSLibWinPeekMsg: ProcessKbdHook call"));
     522            dprintf(("OSLibWinPeekMsg: ProcessKbdHook call"));
    523523            if(ProcessKbdHook(pMsg, fRemove))
    524524                goto continuepeekmsg;
Note: See TracChangeset for help on using the changeset viewer.