* BUG: Try to fix a compilation error on some systems.

git-svn-id: svn://localhost/gambas/trunk@5035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Adrien Prokopowicz 2012-08-12 15:25:27 +00:00
parent ad0519f583
commit a4a9decae9

View file

@ -44,8 +44,17 @@ Element::Element() : Node()
lenLocalName = 0;
}
Element::Element(const char *ntagName, size_t nlenTagName) : Element()
Element::Element(const char *ntagName, size_t nlenTagName) : Node()
{
tagName = 0;
lenTagName = 0;
firstAttribute = 0;
lastAttribute = 0;
attributeCount = 0;
prefix = 0;
lenPrefix = 0;
localName = 0;
lenLocalName = 0;
setTagName(ntagName, nlenTagName);
}