[Ttssh2-commit] [7411] UnicodeToCP932()不具合修正

scmno****@osdn***** scmno****@osdn*****
2019年 1月 28日 (月) 22:26:10 JST


Revision: 7411
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7411
Author:   zmatsuo
Date:     2019-01-28 22:26:10 +0900 (Mon, 28 Jan 2019)
Log Message:
-----------
UnicodeToCP932()不具合修正
ファイル外から呼び出されない関数をstatic化

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtterm.c
    trunk/teraterm/ttpcmn/ttcmn.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2019-01-26 18:03:31 UTC (rev 7410)
+++ trunk/teraterm/teraterm/vtterm.c	2019-01-28 13:26:10 UTC (rev 7411)
@@ -5497,6 +5497,7 @@
 			if (cset != 0) {
 				Kanji = cset & 0xff00;
 				PutKanji(cset & 0x00ff);
+				return;
 			}
 		}
 

Modified: trunk/teraterm/ttpcmn/ttcmn.c
===================================================================
--- trunk/teraterm/ttpcmn/ttcmn.c	2019-01-26 18:03:31 UTC (rev 7410)
+++ trunk/teraterm/ttpcmn/ttcmn.c	2019-01-28 13:26:10 UTC (rev 7411)
@@ -1571,7 +1571,7 @@
 //
 // MBCS\x82\xA9\x82\xE7\x8Ae\x8E튿\x8E\x9A\x83R\x81[\x83h\x82֕ϊ\xB7\x82\xB5\x82ďo\x97͂\xB7\x82\xE9\x81B
 //
-int TextOutMBCS(PComVar cv, PCHAR B, int C)
+static int TextOutMBCS(PComVar cv, PCHAR B, int C)
 {
 	int i, TempLen, OutLen;
 	WORD K;
@@ -1932,7 +1932,7 @@
 	return i;
 }
 
-int WINAPI TextEchoMBCS(PComVar cv, PCHAR B, int C)
+static int WINAPI TextEchoMBCS(PComVar cv, PCHAR B, int C)
 {
 	int i, TempLen;
 	WORD K;


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