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

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

File:
1 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;
Note: See TracChangeset for help on using the changeset viewer.