[Ttssh2-commit] [3463] Altキーの判定方法を変更。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 6月 10日 (水) 23:19:30 JST


Revision: 3463
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3463
Author:   doda
Date:     2009-06-10 23:19:30 +0900 (Wed, 10 Jun 2009)

Log Message:
-----------
Altキーの判定方法を変更。

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtwin.cpp


-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtwin.cpp
===================================================================
--- trunk/teraterm/teraterm/vtwin.cpp	2009-06-10 03:28:31 UTC (rev 3462)
+++ trunk/teraterm/teraterm/vtwin.cpp	2009-06-10 14:19:30 UTC (rev 3463)
@@ -2549,7 +2549,7 @@
 #ifdef WINDOW_MAXMIMUM_ENABLED
 	// ALT + x‚ð‰Ÿ‰º‚·‚é‚Æ WM_SYSCHAR ‚ª”ò‚ñ‚Å‚­‚éB
 	// ALT + Enter‚ŃEƒBƒ“ƒhƒE‚̍ő剻 (2005.4.24 yutaka)
-	if (AltKey() && nChar == 13) {
+	if ((nFlags&0x2000) != 0 && nChar == CR) {
 		if (IsZoomed()) { // window is maximum
 			ShowWindow(SW_RESTORE);
 		} else {



Ttssh2-commit メーリングリストの案内
Back to archive index