svnno****@sourc*****
svnno****@sourc*****
2015年 7月 16日 (木) 10:55:27 JST
Revision: 5914 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5914 Author: doda Date: 2015-07-16 10:55:27 +0900 (Thu, 16 Jul 2015) Log Message: ----------- Meta=left/right時に、KEYBOARD.CNFでのAlt+カーソルキー設定が正しく使えない問題の暫定修正。 Modified Paths: -------------- trunk/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/vtwin.cpp =================================================================== --- trunk/teraterm/teraterm/vtwin.cpp 2015-07-15 11:10:38 UTC (rev 5913) +++ trunk/teraterm/teraterm/vtwin.cpp 2015-07-16 01:55:27 UTC (rev 5914) @@ -2824,11 +2824,7 @@ void CVTWindow::OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) { - if ((nChar==VK_F10) || - ((ts.MetaKey == IdMetaOn) && (nFlags & 0x2000) || - (ts.MetaKey == IdMetaLeft) && (nFlags & 0x2100) == 0x2000 || - (ts.MetaKey == IdMetaRight) && (nFlags & 0x2100) == 0x2100) && - ((MainMenu==NULL) || (nChar!=VK_MENU))) { + if ((nChar==VK_F10) || MetaKey(ts.MetaKey) && ((MainMenu==NULL) || (nChar!=VK_MENU))) { KeyDown(HVTWin,nChar,nRepCnt,nFlags & 0x1ff); // OnKeyDown(nChar,nRepCnt,nFlags); }