Revision: 7427 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7427 Author: zmatsuo Date: 2019-02-11 01:12:40 +0900 (Mon, 11 Feb 2019) Log Message: ----------- ログを取っていないとき isprint()をpassするようにした Modified Paths: -------------- trunk/teraterm/teraterm/vtterm.c -------------- next part -------------- Modified: trunk/teraterm/teraterm/vtterm.c =================================================================== --- trunk/teraterm/teraterm/vtterm.c 2019-02-10 16:02:18 UTC (rev 7426) +++ trunk/teraterm/teraterm/vtterm.c 2019-02-10 16:12:40 UTC (rev 7427) @@ -623,16 +623,17 @@ CharAttrTmp.Attr |= ts.EnableContinuedLineCopy ? AttrLineContinued : 0; } -// if (cv.HLogBuf!=0) Log1Byte(b); -// (2005.2.20 yutaka) - if (ts.LogTypePlainText) { - if (__isascii(b) && !isprint(b)) { - // ASCII\x95\xB6\x8E\x9A\x82ŁA\x94\xF1\x95\\x8E\xA6\x82ȕ\xB6\x8E\x9A\x82̓\x8D\x83O\x8D̎悵\x82Ȃ\xA2\x81B + if (cv.HLogBuf !=0) { + // (2005.2.20 yutaka) + if (ts.LogTypePlainText) { + if (__isascii(b) && !isprint(b)) { + // ASCII\x95\xB6\x8E\x9A\x82ŁA\x94\xF1\x95\\x8E\xA6\x82ȕ\xB6\x8E\x9A\x82̓\x8D\x83O\x8D̎悵\x82Ȃ\xA2\x81B + } else { + Log1Byte(b); + } } else { - if (cv.HLogBuf!=0) Log1Byte(b); + Log1Byte(b); } - } else { - if (cv.HLogBuf!=0) Log1Byte(b); } Wrap = FALSE;