Ignore:
Timestamp:
Jan 2, 2003, 1:35:36 PM (23 years ago)
Author:
sandervl
Message:

Fix for composite keyboard character translation

File:
1 edited

Legend:

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

    r9261 r9584  
    1 /* $Id: oslibmsgtranslate.cpp,v 1.95 2002-09-18 10:56:49 sandervl Exp $ */
     1/* $Id: oslibmsgtranslate.cpp,v 1.96 2003-01-02 12:35:36 sandervl Exp $ */
    22/*
    33 * Window message translation functions for OS/2
     
    10491049      }
    10501050
    1051       if(fl & KC_VIRTUALKEY)
     1051      //the KC_COMPOSITE flag might be set; in that case this key will
     1052      //be combined with the previous dead key, so we must use the scancode
     1053      //(e.g. ^ on german keyboards)
     1054      if(fl & (KC_VIRTUALKEY|KC_COMPOSITE) == KC_VIRTUALKEY)
    10521055      {
    10531056        if(msg->wParam)
Note: See TracChangeset for help on using the changeset viewer.