svnno****@sourc*****
svnno****@sourc*****
2015年 11月 2日 (月) 23:08:17 JST
Revision: 6069 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6069 Author: doda Date: 2015-11-02 23:08:17 +0900 (Mon, 02 Nov 2015) Log Message: ----------- 条件式を簡略化 # if ((!A && B) || (A && B)) って if (B) でいいよね? Modified Paths: -------------- trunk/teraterm/common/ttlib.c -------------- next part -------------- Modified: trunk/teraterm/common/ttlib.c =================================================================== --- trunk/teraterm/common/ttlib.c 2015-10-31 00:22:12 UTC (rev 6068) +++ trunk/teraterm/common/ttlib.c 2015-11-02 14:08:17 UTC (rev 6069) @@ -1073,7 +1073,7 @@ #if 1 while (*param != '\0' && (quoted || (*param != ';' && *param != ' ' && *param != '\t'))) { if (*param == '"') { - if ((!quoted && *(param+1) != '"') || (quoted && *(param+1) != '"')) { + if (*(param+1) != '"') { quoted = !quoted; } else {