Changeset 8514 for trunk/src


Ignore:
Timestamp:
May 29, 2002, 1:47:18 PM (23 years ago)
Author:
sandervl
Message:

PF: GetAsyncKeyState fix for VK_MENU

File:
1 edited

Legend:

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

    r8512 r8514  
    1 /* $Id: winkeyboard.cpp,v 1.35 2002-05-29 09:56:43 sandervl Exp $ */
     1/* $Id: winkeyboard.cpp,v 1.36 2002-05-29 11:47:18 sandervl Exp $ */
    22/*
    33 * Win32 <-> PM key translation
     
    14191419      return 0x0000;
    14201420  }
    1421   if (nVirtKey == VK_MENU)  return O32_GetKeyState(VK_LMENU) | O32_GetKeyState(VK_RMENU);
     1421  if (nVirtKey == VK_MENU)  return O32_GetAsyncKeyState(VK_LMENU) | O32_GetAsyncKeyState(VK_RMENU);
    14221422  return O32_GetAsyncKeyState(nVirtKey);
    14231423}
Note: See TracChangeset for help on using the changeset viewer.