[Ttssh2-commit] [8851] ログダイアログの、ヘルプボタンで log のヘルプが出るよう修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2020年 7月 14日 (火) 00:31:32 JST


Revision: 8851
          https://osdn.net/projects/ttssh2/scm/svn/commits/8851
Author:   zmatsuo
Date:     2020-07-14 00:31:31 +0900 (Tue, 14 Jul 2020)
Log Message:
-----------
ログダイアログの、ヘルプボタンで log のヘルプが出るよう修正

- ticket #39781

Ticket Links:
------------
    https://osdn.net/projects/ttssh2/tracker/detail/39781

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/ftdlg.cpp
===================================================================
--- trunk/teraterm/teraterm/ftdlg.cpp	2020-07-13 15:31:18 UTC (rev 8850)
+++ trunk/teraterm/teraterm/ftdlg.cpp	2020-07-13 15:31:31 UTC (rev 8851)
@@ -217,7 +217,12 @@
 			ChangeButton(! Pause);
 			return TRUE;
 		case IDC_TRANSHELP:
-			::PostMessage(fv->HMainWin,WM_USER_DLGHELP2,HlpFileSend,0);
+			if (fv->OpId == OpLog) {
+				::PostMessage(fv->HMainWin, WM_USER_DLGHELP2, HlpFileLog, 0);
+			}
+			else {
+				::PostMessage(fv->HMainWin, WM_USER_DLGHELP2, HlpFileSend, 0);
+			}
 			return TRUE;
 		default:
 			return (TTCDialog::OnCommand(wParam,lParam));


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