svnno****@sourc*****
svnno****@sourc*****
2009年 11月 21日 (土) 21:52:05 JST
Revision: 3695 http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3695 Author: doda Date: 2009-11-21 21:52:05 +0900 (Sat, 21 Nov 2009) Log Message: ----------- タブもコマンドラインパラメータの区切り文字として認識するようにした。 Modified Paths: -------------- trunk/teraterm/ttpset/ttset.c -------------- next part -------------- Modified: trunk/teraterm/ttpset/ttset.c =================================================================== --- trunk/teraterm/ttpset/ttset.c 2009-11-20 14:03:26 UTC (rev 3694) +++ trunk/teraterm/ttpset/ttset.c 2009-11-21 12:52:05 UTC (rev 3695) @@ -2692,14 +2692,14 @@ return FALSE; j = 0; - while (Param[*i] == ' ') + while (Param[*i] == ' ' || Param[*i] == '\t') (*i)++; Quoted = FALSE; c = Param[*i]; (*i)++; - while ((c != 0) && (Quoted || (c != ' ')) && - (Quoted || (c != ';')) && (j < Size - 1)) { + while ((c != 0) && (j < Size - 1) && + (Quoted || ((c != ' ') && (c != ';') && (c != '\t')))) { if (c == '"') Quoted = !Quoted; Temp[j] = c;