[GB.XML]
* BUG: Fixed a compilation problem. git-svn-id: svn://localhost/gambas/trunk@4869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
e6fb654a59
commit
0d4935d790
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue