Changeset 10205 for trunk/src


Ignore:
Timestamp:
Aug 4, 2003, 7:06:50 PM (22 years ago)
Author:
sandervl
Message:

KOM: fix for DBCS WM_CHAR messages

File:
1 edited

Legend:

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

    r10190 r10205  
    1 /* $Id: oslibmsg.cpp,v 1.72 2003-07-31 15:56:43 sandervl Exp $ */
     1/* $Id: oslibmsg.cpp,v 1.73 2003-08-04 17:06:50 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    364364            goto continuegetmsg;
    365365        break;
     366    case WINWM_CHAR:
     367    case WINWM_SYSCHAR:
     368        // prevent from calling wrong DispatchMsg() (DBCS generated WM_CHAR)
     369        memset( &teb->o.odin.winmsg, 0, sizeof( MSG ));
     370        break;
    366371    }
    367372    return rc;
     
    531536                goto continuepeekmsg;
    532537            break;
     538        case WINWM_CHAR:
     539        case WINWM_SYSCHAR:
     540            // prevent from calling wrong DispatchMsg() (DBCS generated WM_CHAR)
     541            memset( &teb->o.odin.winmsg, 0, sizeof( MSG ));
     542            break;
    533543        }
    534544    }
Note: See TracChangeset for help on using the changeset viewer.