Meta=left/right時に、KEYBOARD.CNFでのAlt+カーソルキー設定が正しく使えない問題の暫定修正。
@@ -2824,11 +2824,7 @@ | ||
2824 | 2824 | |
2825 | 2825 | void CVTWindow::OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) |
2826 | 2826 | { |
2827 | - if ((nChar==VK_F10) || | |
2828 | - ((ts.MetaKey == IdMetaOn) && (nFlags & 0x2000) || | |
2829 | - (ts.MetaKey == IdMetaLeft) && (nFlags & 0x2100) == 0x2000 || | |
2830 | - (ts.MetaKey == IdMetaRight) && (nFlags & 0x2100) == 0x2100) && | |
2831 | - ((MainMenu==NULL) || (nChar!=VK_MENU))) { | |
2827 | + if ((nChar==VK_F10) || MetaKey(ts.MetaKey) && ((MainMenu==NULL) || (nChar!=VK_MENU))) { | |
2832 | 2828 | KeyDown(HVTWin,nChar,nRepCnt,nFlags & 0x1ff); |
2833 | 2829 | // OnKeyDown(nChar,nRepCnt,nFlags); |
2834 | 2830 | } |