Sistemata text::replace

git-svn-id: svn://10.65.10.50/trunk@1396 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1995-05-25 10:47:36 +00:00
parent b4ad2f980a
commit 075bef2571

View File

@ -314,13 +314,13 @@ int TTextfile::replace(long l, const char* txt, int pos, int len)
ch = line[i++];
if (ch == '\0')
sforating = TRUE;
else if (ch == '@' && strchr("ribuok",line[i]) != NULL)
else if (ch == '@' && strchr("ribuokt",line[i]) != NULL)
{
skip +=2; i++;
skip +=2; i++; cnt--;
}
else if (ch == '$' && line[i] == '[')
{
skip +=3; i++;
skip +=3; i++; cnt--;
while(line[i++] != ']')
if (line[i] == '\0')
return -1;