From 0d4935d790e01b7c66fb24d72e29f3b60734d0c6 Mon Sep 17 00:00:00 2001 From: Adrien Prokopowicz Date: Thu, 28 Jun 2012 18:27:32 +0000 Subject: [PATCH] [GB.XML] * BUG: Fixed a compilation problem. git-svn-id: svn://localhost/gambas/trunk@4869 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.xml/src/reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.xml/src/reader.cpp b/gb.xml/src/reader.cpp index 15ec4daa6..809ac3c4a 100644 --- a/gb.xml/src/reader.cpp +++ b/gb.xml/src/reader.cpp @@ -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);