svnno****@sourc*****
svnno****@sourc*****
2009年 6月 9日 (火) 19:16:49 JST
Revision: 3459 http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3459 Author: doda Date: 2009-06-09 19:16:49 +0900 (Tue, 09 Jun 2009) Log Message: ----------- Unicodeへの変換が失敗した場合は、Replacement Characterに置き換えるように変更した。 Modified Paths: -------------- trunk/teraterm/ttpcmn/language.c -------------- next part -------------- Modified: trunk/teraterm/ttpcmn/language.c =================================================================== --- trunk/teraterm/ttpcmn/language.c 2009-06-08 19:12:25 UTC (rev 3458) +++ trunk/teraterm/ttpcmn/language.c 2009-06-09 10:16:49 UTC (rev 3459) @@ -64,7 +64,7 @@ cset = ConvertUnicode(KCode, mapSJISToUnicode, sizeof(mapSJISToUnicode)/sizeof(mapSJISToUnicode[0])); } if (cset == 0) { - goto error; + c = 0xfffd; } else { c = cset; } @@ -92,8 +92,6 @@ *byte = 3; } -error: - return (code); }