[Ttssh2-commit] [7583] ダイアログフォントの変更がttxsshプラグインにすぐ反映されなかったので修正

scmno****@osdn***** scmno****@osdn*****
2019年 4月 12日 (金) 01:22:13 JST


Revision: 7583
          https://osdn.net/projects/ttssh2/scm/svn/commits/7583
Author:   zmatsuo
Date:     2019-04-12 01:22:13 +0900 (Fri, 12 Apr 2019)
Log Message:
-----------
ダイアログフォントの変更がttxsshプラグインにすぐ反映されなかったので修正

Modified Paths:
--------------
    trunk/ttssh2/ttxssh/ttxssh.c

-------------- next part --------------
Modified: trunk/ttssh2/ttxssh/ttxssh.c
===================================================================
--- trunk/ttssh2/ttxssh/ttxssh.c	2019-04-11 16:22:00 UTC (rev 7582)
+++ trunk/ttssh2/ttxssh/ttxssh.c	2019-04-11 16:22:13 UTC (rev 7583)
@@ -5155,6 +5155,7 @@
 			return 0;  // SSH2\x82ŏ\x88\x97\x9D\x82\xB3\x82\xEA\x82Ȃ\xA9\x82\xC1\x82\xBD\x8Fꍇ\x82́A\x96{\x97\x88\x82̓\xAE\x8D\xEC\x82\xF0\x8Ds\x82\xA4\x82ׂ\xAD\x81A\x83[\x83\x8D\x82\xF0\x95Ԃ\xB7\x81B
 
 	case ID_SSHSCPMENU:
+		UTIL_SetDialogFont();
 		if (DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_SSHSCP), hWin, TTXScpDialog,
 			(LPARAM) pvar) == -1) {
 			UTIL_get_lang_msg("MSG_CREATEWINDOW_SCP_ERROR", pvar,
@@ -5166,6 +5167,7 @@
 		return 1;
 
 	case ID_SSHKEYGENMENU:
+		UTIL_SetDialogFont();
 		if (DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_SSHKEYGEN), hWin, TTXKeyGenerator,
 			(LPARAM) pvar) == -1) {
 			UTIL_get_lang_msg("MSG_CREATEWINDOW_KEYGEN_ERROR", pvar,
@@ -5177,6 +5179,7 @@
 		return 1;
 
 	case ID_ABOUTMENU:
+		UTIL_SetDialogFont();
 		if (DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_ABOUTDIALOG),
 		                   hWin, TTXAboutDlg, (LPARAM) pvar) == -1) {
 			UTIL_get_lang_msg("MSG_CREATEWINDOW_ABOUT_ERROR", pvar,
@@ -5187,9 +5190,11 @@
 		}
 		return 1;
 	case ID_SSHAUTH:
+		UTIL_SetDialogFont();
 		AUTH_do_cred_dialog(pvar);
 		return 1;
 	case ID_SSHSETUPMENU:
+		UTIL_SetDialogFont();
 		if (DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_SSHSETUP),
 		                   hWin, TTXSetupDlg, (LPARAM) pvar) == -1) {
 			UTIL_get_lang_msg("MSG_CREATEWINDOW_SETUP_ERROR", pvar,
@@ -5200,15 +5205,19 @@
 		}
 		return 1;
 	case ID_SSHAUTHSETUPMENU:
+		UTIL_SetDialogFont();
 		AUTH_do_default_cred_dialog(pvar);
 		return 1;
 	case ID_SSHFWDSETUPMENU:
+		UTIL_SetDialogFont();
 		FWDUI_do_forwarding_dialog(pvar);
 		return 1;
 	case ID_SSHUNKNOWNHOST:
+		UTIL_SetDialogFont();
 		HOSTS_do_unknown_host_dialog(hWin, pvar);
 		return 1;
 	case ID_SSHDIFFERENTKEY:
+		UTIL_SetDialogFont();
 		HOSTS_do_different_key_dialog(hWin, pvar);
 		return 1;
 	case ID_SSHASYNCMESSAGEBOX:


Ttssh2-commit メーリングリストの案内