Changeset 8512 for trunk/src


Ignore:
Timestamp:
May 29, 2002, 11:56:43 AM (23 years ago)
Author:
sandervl
Message:

Fix for ToAscii(Ex) & GetKeyboardState (WinTranslateChar2 call)

Location:
trunk/src/user32
Files:
2 edited

Legend:

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

    r8350 r8512  
    1 /* $Id: oslibwin.cpp,v 1.120 2002-04-30 18:47:46 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.121 2002-05-29 09:56:43 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    931931USHORT OSLibWinTranslateChar(USHORT usScanCode, ULONG type, USHORT shiftstate)
    932932{
     933  USHORT usResult;
    933934  USHORT sel = GetFS();
    934   usScanCode = WinTranslateChar2(0, &usScanCode, NULL, type, &shiftstate);
     935
     936  usResult = WinTranslateChar2(0, &usScanCode, NULL, type, &shiftstate);
    935937  SetFS(sel);
    936938  return usScanCode;
  • trunk/src/user32/winkeyboard.cpp

    r8474 r8512  
    1 /* $Id: winkeyboard.cpp,v 1.34 2002-05-23 07:13:00 sandervl Exp $ */
     1/* $Id: winkeyboard.cpp,v 1.35 2002-05-29 09:56:43 sandervl Exp $ */
    22/*
    33 * Win32 <-> PM key translation
     
    2626#define DBG_LOCALLOG    DBG_winkeyboard
    2727#include "dbglocal.h"
    28 
    29 
    30 
    31 
    32 ODINDEBUGCHANNEL(USER32-WINKBD)
    3328
    3429
     
    11961191       else ret = 1;
    11971192  }
    1198   dprintf2(("USER32:ToAscii returned %x, len %d", *lpwTransKey, ret));
     1193  dprintf(("USER32:ToAscii returned %x, len %d", *lpwTransKey, ret));
    11991194  return ret;
    12001195}
Note: See TracChangeset for help on using the changeset viewer.