Some line to be added?

A routine in function GetCData in lexer.c will run better when I insert
a new line(as following) into it. No error message I've got with the
original code, but I just watch out the memory buffer and found
something not good enough.
...
else if (c == '>' && start >= 0)
{
	if (((len = lexer->lexsize - start) ==
wstrlen(container->element)) &&
	wstrncasecmp(lexer->lexbuf+start, container->element, len) == 0)
	{
		lexer->txtend = start - 2;
		lexer->lexsize = start - 2;		//the line I
added
		break;
	}
...
}

Received on Wednesday, 25 April 2001 21:15:17 UTC