[ttssh2-commit] [9978] r9969 で引数が合わなくなっていたので呼び出し側を修正

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 5月 30日 (月) 00:51:25 JST


Revision: 9978
          https://osdn.net/projects/ttssh2/scm/svn/commits/9978
Author:   nmaya
Date:     2022-05-30 00:51:25 +0900 (Mon, 30 May 2022)
Log Message:
-----------
r9969 で引数が合わなくなっていたので呼び出し側を修正

Revision Links:
--------------
    https://osdn.net/projects/ttssh2/scm/svn/commits/9969

Modified Paths:
--------------
    branches/adjust_icon/ttssh2/ttxssh/ttxssh.c

-------------- next part --------------
Modified: branches/adjust_icon/ttssh2/ttxssh/ttxssh.c
===================================================================
--- branches/adjust_icon/ttssh2/ttxssh/ttxssh.c	2022-05-29 15:48:48 UTC (rev 9977)
+++ branches/adjust_icon/ttssh2/ttxssh/ttxssh.c	2022-05-29 15:51:25 UTC (rev 9978)
@@ -182,11 +182,12 @@
 	FWD_end(pvar);
 	FWDUI_end(pvar);
 
+	// VT \x83E\x83B\x83\x93\x83h\x83E\x82̃A\x83C\x83R\x83\x93
 	pvar->ts->SetVTIconID(pvar->ts, NULL, 0);
-	if (IsWindows2000()) {
-		NotifySetIconID(NULL, 0, TRUE);
-	}
 
+	// \x92ʒm\x97̈\xE6\x82̃J\x83X\x83^\x83\x80\x83A\x83C\x83R\x83\x93
+	NotifySetIconID(pvar->cv, NULL, 0);
+
 	ssh_heartbeat_lock_finalize();
 
 	cipher_free_SSH2(pvar->cc[MODE_IN]);
@@ -662,14 +663,11 @@
 
 void notify_established_secure_connection(PTInstVar pvar)
 {
+	// VT \x83E\x83B\x83\x93\x83h\x83E\x82̃A\x83C\x83R\x83\x93
 	pvar->ts->SetVTIconID(pvar->ts, hInst, pvar->settings.IconID);
 
-	// \x92ʒm\x97̈\xE6\x82̃A\x83C\x83R\x83\x93
-	// Windows 2000 \x82̃^\x83X\x83N\x83g\x83\x8C\x83C\x83A\x83C\x83R\x83\x93\x82\xCD 4bit \x82̂ݑΉ\x9E\x82Ȃ̂ŁAID \x82\xF0\x95ۑ\xB6\x82\xB5\x82Ă\xA8\x82\xA2\x82ĕ\\x8E\xA6\x82̂Ƃ\xAB\x82ɓǂݍ\x9E\x82\xF1\x82ł\xE0\x82炤
-	// Windows 2000 \x88ȊO\x82\xCD VT \x83E\x83B\x83\x93\x83h\x83E\x82\xA9\x82\xE7\x8E擾\x82\xB3\x82\xEA\x82\xE9\x82̂łȂɂ\xE0\x82\xB5\x82Ȃ\xA2
-	if (IsWindows2000()) {
-		NotifySetIconID(hInst, pvar->settings.IconID, TRUE);
-	}
+	// \x92ʒm\x97̈\xE6\x82̃J\x83X\x83^\x83\x80\x83A\x83C\x83R\x83\x93
+	NotifySetIconID(pvar->cv, hInst, pvar->settings.IconID);
 
 	logputs(LOG_LEVEL_VERBOSE, "Entering secure mode");
 }


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