- bug fix (end of quoted text was not detected correctly)

This commit is contained in:
zolliker
2010-02-01 16:14:21 +00:00
parent 3e8938e986
commit 1dff223146

View File

@ -141,7 +141,7 @@ TokenList *SplitText(char *pLine)
if (eWhat == eQuote) { if (eWhat == eQuote) {
i = 0; i = 0;
pChar++; pChar++;
while ((isEnd(*pChar) != 2) && (CheckSpecial(pChar) != eQuote) while ((isEnd(*pChar) != 2) && (*pChar != '"')
&& i < 250) { && i < 250) {
if (*pChar == '\\') { if (*pChar == '\\') {
pBueffel[i] = Tcl_Backslash(pChar, &n); pBueffel[i] = Tcl_Backslash(pChar, &n);