* BUG: Fixed a compilation problem.

git-svn-id: svn://localhost/gambas/trunk@4869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Adrien Prokopowicz 2012-06-28 18:27:32 +00:00
parent e6fb654a59
commit 0d4935d790

View file

@ -406,7 +406,7 @@ int Reader::ReadChar(char car)
}
else if(curNode->isElement() && inTag && !inAttr)//Si on est dans le tag d'un élément
{
if(!isNameChar(car)) return;
if(!isNameChar(car)) return 0;
char *&textContent = curNode->toElement()->tagName;
size_t &lenTextContent = curNode->toElement()->lenTagName;
textContent = (char*)realloc(textContent, lenTextContent + 1);