[Ttssh2-commit] [6893] シリアルポート / パイプが開けなかった時のメッセージ強化。 Ticket : #36630

svnno****@sourc***** svnno****@sourc*****
2017年 8月 9日 (水) 22:08:44 JST


Revision: 6893
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6893
Author:   doda
Date:     2017-08-09 22:08:44 +0900 (Wed, 09 Aug 2017)
Log Message:
-----------
シリアルポート/パイプが開けなかった時のメッセージ強化。 Ticket: #36630

以下のエラーは起き易いので、専用のメッセージを表示する。

・ERROR_FILE_NOT_FOUND(0x02)
・ERROR_ACCESS_DENIED(0x05)

他のエラーはエラーコードを表示する。
他にも頻発するようなエラーがあった場合は別途専用メッセージを追加する。

Ticket Links:
------------
    http://sourceforge.jp/projects/ttssh2/tracker/detail/36630

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/ja/html/about/history.html
    trunk/installer/release/lang/English.lng
    trunk/installer/release/lang/French.lng
    trunk/installer/release/lang/German.lng
    trunk/installer/release/lang/Japanese.lng
    trunk/installer/release/lang/Korean.lng
    trunk/installer/release/lang/Russian.lng
    trunk/installer/release/lang/Simplified Chinese.lng
    trunk/installer/release/lang/Traditional Chinese.lng
    trunk/teraterm/teraterm/commlib.c

-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/doc/en/html/about/history.html	2017-08-09 13:08:44 UTC (rev 6893)
@@ -44,6 +44,7 @@
         <ul>
           <li>added the <a href="../setup/teraterm-misc.html#LogTimestampUTC">LogTimestampUTC</a> entry in the teraterm.ini file. The default is off.</li>
         </ul></li>
+      <!-- li>\x83V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x82\xA8\x82\xE6\x82і\xBC\x91O\x95t\x82\xAB\x83p\x83C\x83v\x82\xAA\x8AJ\x82\xAF\x82Ȃ\xA9\x82\xC1\x82\xBD\x8E\x9E\x81A\x83G\x83\x89\x81[\x83\x81\x83b\x83Z\x81[\x83W\x82ŗ\x9D\x97R\x82\xE2\x83G\x83\x89\x81[\x83R\x81[\x83h\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9\x82悤\x82ɂ\xB5\x82\xBD\x81B</li -->
       <li>added the <a href="../macro/command/sendlnmulticast.html">sendlnmulticast</a> command.</li>
     </ul>
   </li>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/doc/ja/html/about/history.html	2017-08-09 13:08:44 UTC (rev 6893)
@@ -44,6 +44,7 @@
         <ul>
           <li>teraterm.ini \x82\xC9 <a href="../setup/teraterm-misc.html#LogTimestampUTC">LogTimestampUTC</a> \x83G\x83\x93\x83g\x83\x8A\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B\x83f\x83t\x83H\x83\x8B\x83g\x82\xCDoff\x81B</li>
         </ul></li>
+      <li>\x83V\x83\x8A\x83A\x83\x8B\x83|\x81[\x83g\x82\xA8\x82\xE6\x82і\xBC\x91O\x95t\x82\xAB\x83p\x83C\x83v\x82\xAA\x8AJ\x82\xAF\x82Ȃ\xA9\x82\xC1\x82\xBD\x8E\x9E\x81A\x83G\x83\x89\x81[\x83\x81\x83b\x83Z\x81[\x83W\x82ŗ\x9D\x97R\x82\xE2\x83G\x83\x89\x81[\x83R\x81[\x83h\x82\xF0\x95\\x8E\xA6\x82\xB7\x82\xE9\x82悤\x82ɂ\xB5\x82\xBD\x81B</li>
       <li><a href="../macro/command/sendlnmulticast.html">sendlnmulticast</a> \x83}\x83N\x83\x8D\x83R\x83}\x83\x93\x83h\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B</li>
     </ul>
   </li>

Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/English.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 
 [Tera Term]
 DLG_SYSTEM_FONT=System,14,0
@@ -288,7 +288,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=Cannot use winsock
 MSG_INVALID_HOST_ERROR=Invalid host
-MSG_CANTOPEN_ERROR=Cannot open %s
+MSG_CANTOPEN_ERROR=Cannot open %s. (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=Cannot open %s. Not found.
+MSG_CANTOPEN_ERROR_DENIED=Cannot open %s. Access denied.
 MSG_CANTOPEN_FILE_ERROR=Cannot open file
 MSG_COMM_REFUSE_ERROR=Connection refused
 MSG_COMM_REACH_ERROR=Network cannot be reached

Modified: trunk/installer/release/lang/French.lng
===================================================================
--- trunk/installer/release/lang/French.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/French.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 ; Last translated (French language) by Francois MOCQ (2010-07-21)
 
 [Tera Term]
@@ -289,7 +289,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=Impossible d'utiliser winsock
 MSG_INVALID_HOST_ERROR=H\xF4te invalide
-MSG_CANTOPEN_ERROR=Impossible d'ouvrir %s
+MSG_CANTOPEN_ERROR=Impossible d'ouvrir %s (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=Cannot open %s. Not found.
+MSG_CANTOPEN_ERROR_DENIED=Cannot open %s. Access denied
 MSG_CANTOPEN_FILE_ERROR=Impossible d'ouvrir le fichier
 MSG_COMM_REFUSE_ERROR=Connexion refus\xE9e
 MSG_COMM_REACH_ERROR=Imossible d'atteindre le r\xE9seau

Modified: trunk/installer/release/lang/German.lng
===================================================================
--- trunk/installer/release/lang/German.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/German.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 ; Last translated (German language) by Frederik Schwarzer (2010-05-17)
 
 [Tera Term]
@@ -289,7 +289,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=Kann Winsock nicht verwenden
 MSG_INVALID_HOST_ERROR=Falscher Hostname
-MSG_CANTOPEN_ERROR=Kann %s nicht \xF6ffnen
+MSG_CANTOPEN_ERROR=Kann %s nicht \xF6ffnen (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=Cannot open %s. Not found.
+MSG_CANTOPEN_ERROR_DENIED=Cannot open %s. Access denied
 MSG_CANTOPEN_FILE_ERROR=Kann Datei nicht \xF6ffnen
 MSG_COMM_REFUSE_ERROR=Verbindung ist abgebrochen worden
 MSG_COMM_REACH_ERROR=Netzwerk ist nicht erreichbar

Modified: trunk/installer/release/lang/Japanese.lng
===================================================================
--- trunk/installer/release/lang/Japanese.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/Japanese.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 
 [Tera Term]
 DLG_SYSTEM_FONT=\x82l\x82r \x82o\x83S\x83V\x83b\x83N,12,128
@@ -288,7 +288,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=Winsock \x82\xAA\x8Eg\x82\xA6\x82܂\xB9\x82\xF1
 MSG_INVALID_HOST_ERROR=\x96\xB3\x8C\xF8\x82ȃz\x83X\x83g
-MSG_CANTOPEN_ERROR=%s\x82\xAA\x8AJ\x82\xAF\x82܂\xB9\x82\xF1
+MSG_CANTOPEN_ERROR=%s\x82\xAA\x8AJ\x82\xAF\x82܂\xB9\x82\xF1 (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=%s\x82\xAA\x8C\xA9\x82‚\xA9\x82\xE8\x82܂\xB9\x82\xF1\x81B
+MSG_CANTOPEN_ERROR_DENIED=%s\x82ւ̃A\x83N\x83Z\x83X\x82\xAA\x8B\x91\x94ۂ\xB3\x82\xEA\x82܂\xB5\x82\xBD\x81B
 MSG_CANTOPEN_FILE_ERROR=\x83t\x83@\x83C\x83\x8B\x82\xAA\x8AJ\x82\xAF\x82܂\xB9\x82\xF1
 MSG_COMM_REFUSE_ERROR=\x90ڑ\xB1\x82\xAA\x8B\x91\x94ۂ\xB3\x82\xEA\x82܂\xB5\x82\xBD
 MSG_COMM_REACH_ERROR=\x83l\x83b\x83g\x83\x8F\x81[\x83N\x82ɓ\x9E\x92B\x82ł\xAB\x82܂\xB9\x82\xF1

Modified: trunk/installer/release/lang/Korean.lng
===================================================================
--- trunk/installer/release/lang/Korean.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/Korean.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 ; Last translated (Korean language) by Daehong Kim (2013-07-25)
 
 [Tera Term]
@@ -289,7 +289,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=\xC0\xA9\xBC\xD3\xC0\xBB \xBB\xE7\xBF\xEB\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4ϴ\xD9
 MSG_INVALID_HOST_ERROR=\xC0߸\xF8\xB5\xC8 ȣ\xBD\xBAƮ
-MSG_CANTOPEN_ERROR=%s\xB8\xA6 \xBF\xAD \xBC\xF6 \xBE\xF8\xBD\xC0\xB4ϴ\xD9
+MSG_CANTOPEN_ERROR=%s\xB8\xA6 \xBF\xAD \xBC\xF6 \xBE\xF8\xBD\xC0\xB4ϴ\xD9 (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=Cannot open %s. Not found.
+MSG_CANTOPEN_ERROR_DENIED=Cannot open %s. Access denied
 MSG_CANTOPEN_FILE_ERROR=\xC6\xC4\xC0\xCF\xC0\xBB \xBF\xAD \xBC\xF6 \xBE\xF8\xBD\xC0\xB4ϴ\xD9
 MSG_COMM_REFUSE_ERROR=\xBF\xAC\xB0\xE1\xC0\xCC \xB0źεƽ\xC0\xB4ϴ\xD9
 MSG_COMM_REACH_ERROR=\xB3\xD7Ʈ\xBF\xF7ũ\xBF\xA1 \xBF\xAC\xB0\xE1\xC7\xD2 \xBC\xF6 \xBE\xF8\xBD\xC0\xB4ϴ\xD9

Modified: trunk/installer/release/lang/Russian.lng
===================================================================
--- trunk/installer/release/lang/Russian.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/Russian.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 ; Last translated (Russian language) by Ryumik Sergey (2017-07-19)
 
 [Tera Term]
@@ -289,7 +289,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=\xCD\xE5 \xF3\xE4\xE0\xE5\xF2\xF1\xFF \xE8\xF1\xEF\xEE\xEB\xFC\xE7\xEE\xE2\xE0\xF2\xFC winsock
 MSG_INVALID_HOST_ERROR=\xCD\xE5\xE2\xE5\xF0\xED\xFB\xE9 \xF5\xEE\xF1\xF2
-MSG_CANTOPEN_ERROR=\xCD\xE5 \xF3\xE4\xE0\xE5\xF2\xF1\xFF \xEE\xF2\xEA\xF0\xFB\xF2\xFC %s
+MSG_CANTOPEN_ERROR=\xCD\xE5 \xF3\xE4\xE0\xE5\xF2\xF1\xFF \xEE\xF2\xEA\xF0\xFB\xF2\xFC %s (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=Cannot open %s. Not found.
+MSG_CANTOPEN_ERROR_DENIED=Cannot open %s. Access denied
 MSG_CANTOPEN_FILE_ERROR=\xCD\xE5 \xF3\xE4\xE0\xE5\xF2\xF1\xFF \xEE\xF2\xEA\xF0\xFB\xF2\xFC \xF4\xE0\xE9\xEB
 MSG_COMM_REFUSE_ERROR=\xCE\xF2\xEA\xE0\xE7 \xE2 \xF1\xEE\xE5\xE4\xE8\xED\xE5\xED\xE8\xE8
 MSG_COMM_REACH_ERROR=\xD1\xE5\xF2\xFC \xED\xE5\xE4\xEE\xF1\xF2\xF3\xEF\xED\xE0

Modified: trunk/installer/release/lang/Simplified Chinese.lng
===================================================================
--- trunk/installer/release/lang/Simplified Chinese.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/Simplified Chinese.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 ; Last translated (Simplified Chinese language) by LiShaohui (2017-04-11)
 
 [Tera Term]
@@ -289,7 +289,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=\xCE޷\xA8ʹ\xD3\xC3 Winsock
 MSG_INVALID_HOST_ERROR=\xCE\xDEЧ\xB5\xC4\xD6\xF7\xBB\xFA\xB5\xD8ַ
-MSG_CANTOPEN_ERROR=%s \xB4\xF2\xBF\xAAʧ\xB0\xDC
+MSG_CANTOPEN_ERROR=%s \xB4\xF2\xBF\xAAʧ\xB0\xDC (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=Cannot open %s. Not found.
+MSG_CANTOPEN_ERROR_DENIED=Cannot open %s. Access denied
 MSG_CANTOPEN_FILE_ERROR=\xCEļ\xFE\xB4\xF2\xBF\xAAʧ\xB0\xDC
 MSG_COMM_REFUSE_ERROR=\xC1\xAC\xBDӱ\xBB\xBEܾ\xF8
 MSG_COMM_REACH_ERROR=\xCD\xF8\xC2粻\xBFɴ\xEF

Modified: trunk/installer/release/lang/Traditional Chinese.lng
===================================================================
--- trunk/installer/release/lang/Traditional Chinese.lng	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/installer/release/lang/Traditional Chinese.lng	2017-08-09 13:08:44 UTC (rev 6893)
@@ -1,4 +1,4 @@
-; Updated by TeraTerm Project (2017-07-11)
+; Updated by TeraTerm Project (2017-08-09)
 ; Last translated (Traditional Chinese language) by kikiqqp (2014-09-20)
 
 [Tera Term]
@@ -289,7 +289,9 @@
 ; commonlib.c
 MSG_WINSOCK_ERROR=\xB5L\xAAk\xA8ϥ\xCE Winsock
 MSG_INVALID_HOST_ERROR=\xB5L\xAEĪ\xBA\xA5D\xBE\xF7\xA6a\xA7}
-MSG_CANTOPEN_ERROR=%s \xA5\xB4\xB6}\xA5\xA2\xB1\xD1
+MSG_CANTOPEN_ERROR=%s \xA5\xB4\xB6}\xA5\xA2\xB1\xD1 (0x%08x)
+MSG_CANTOPEN_ERROR_NOTFOUND=Cannot open %s. Not found.
+MSG_CANTOPEN_ERROR_DENIED=Cannot open %s. Access denied
 MSG_CANTOPEN_FILE_ERROR=\xA4\xE5\xA5󥴶}\xA5\xA2\xB1\xD1
 MSG_COMM_REFUSE_ERROR=\xB3s\xBDu\xB3Q\xA9ڵ\xB4
 MSG_COMM_REACH_ERROR=\xBA\xF4\xB8\x{1248E5}i\xB3s\xBDu

Modified: trunk/teraterm/teraterm/commlib.c
===================================================================
--- trunk/teraterm/teraterm/commlib.c	2017-08-09 13:08:39 UTC (rev 6892)
+++ trunk/teraterm/teraterm/commlib.c	2017-08-09 13:08:44 UTC (rev 6893)
@@ -447,14 +447,26 @@
 			strncpy_s(ErrMsg, sizeof(ErrMsg),P, _TRUNCATE);
 			strncpy_s(P, sizeof(P),"\\\\.\\", _TRUNCATE);
 			strncat_s(P, sizeof(P),ErrMsg, _TRUNCATE);
-			cv->ComID =
-			PCreateFile(P,GENERIC_READ | GENERIC_WRITE,
-			            0,NULL,OPEN_EXISTING,
-			            FILE_FLAG_OVERLAPPED,NULL);
+			cv->ComID = PCreateFile(P, GENERIC_READ | GENERIC_WRITE, 0, NULL,
+			                        OPEN_EXISTING, FILE_FLAG_OVERLAPPED, NULL);
 			if (cv->ComID == INVALID_HANDLE_VALUE ) {
-				get_lang_msg("MSG_CANTOPEN_ERROR", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s", ts->UILanguageFile);
-				_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4]);
+				DWORD err = GetLastError();
 
+				switch (err) {
+				case ERROR_FILE_NOT_FOUND:
+					get_lang_msg("MSG_CANTOPEN_ERROR_NOTFOUND", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s. Not found.", ts->UILanguageFile);
+					_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4]);
+					break;
+				case ERROR_ACCESS_DENIED:
+					get_lang_msg("MSG_CANTOPEN_ERROR_DENIED", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s. Access denied.", ts->UILanguageFile);
+					_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4]);
+					break;
+				default:
+					get_lang_msg("MSG_CANTOPEN_ERROR", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s. (0x%08x)", ts->UILanguageFile);
+					_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4], err);
+					break;
+				}
+
 				if (cv->NoMsg==0) {
 					get_lang_msg("MSG_TT_ERROR", uimsg, sizeof(uimsg), "Tera Term: Error", ts->UILanguageFile);
 					MessageBox(cv->HWin,ErrMsg,uimsg,MB_TASKMODAL | MB_ICONEXCLAMATION);
@@ -480,8 +492,7 @@
 		case IdFile:
 			InitFileIO(IdFile);  /* TTPLUG */
 			TTXOpenFile(); /* TTPLUG */
-			cv->ComID = PCreateFile(ts->HostName,GENERIC_READ,0,NULL,
-			                        OPEN_EXISTING,0,NULL);
+			cv->ComID = PCreateFile(ts->HostName, GENERIC_READ, 0, NULL, OPEN_EXISTING, 0, NULL);
 			InvalidHost = (cv->ComID == INVALID_HANDLE_VALUE);
 			if (InvalidHost) {
 				if (cv->NoMsg==0) {
@@ -517,15 +528,27 @@
 				break;
 			}
 
-			cv->ComID =
-			PCreateFile(P,GENERIC_READ | GENERIC_WRITE,
-			            0,NULL,OPEN_EXISTING,
-			            0,  // \x83u\x83\x8D\x83b\x83L\x83\x93\x83O\x83\x82\x81[\x83h\x82ɂ\xB7\x82\xE9(FILE_FLAG_OVERLAPPED \x82͎w\x92肵\x82Ȃ\xA2)
-						NULL);
+			cv->ComID = PCreateFile(P, GENERIC_READ | GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
+			                        0,  // \x83u\x83\x8D\x83b\x83L\x83\x93\x83O\x83\x82\x81[\x83h\x82ɂ\xB7\x82\xE9(FILE_FLAG_OVERLAPPED \x82͎w\x92肵\x82Ȃ\xA2)
+			                        NULL);
 			if (cv->ComID == INVALID_HANDLE_VALUE ) {
-				get_lang_msg("MSG_CANTOPEN_ERROR", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s", ts->UILanguageFile);
-				_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4]);
+				DWORD err = GetLastError();
 
+				switch (err) {
+				case ERROR_FILE_NOT_FOUND:
+					get_lang_msg("MSG_CANTOPEN_ERROR_NOTFOUND", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s. Not found.", ts->UILanguageFile);
+					_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4]);
+					break;
+				case ERROR_ACCESS_DENIED:
+					get_lang_msg("MSG_CANTOPEN_ERROR_DENIED", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s. Access denied.", ts->UILanguageFile);
+					_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4]);
+					break;
+				default:
+					get_lang_msg("MSG_CANTOPEN_ERROR", ts->UIMsg, sizeof(ts->UIMsg), "Cannot open %s. (0x%08x)", ts->UILanguageFile);
+					_snprintf_s(ErrMsg, sizeof(ErrMsg), _TRUNCATE, ts->UIMsg, &P[4], err);
+					break;
+				}
+
 				if (cv->NoMsg==0) {
 					get_lang_msg("MSG_TT_ERROR", uimsg, sizeof(uimsg), "Tera Term: Error", ts->UILanguageFile);
 					MessageBox(cv->HWin,ErrMsg,uimsg,MB_TASKMODAL | MB_ICONEXCLAMATION);



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