Replace XML_GET_LINE usage with the better-documented xmlGetLineNo

This was SVN commit r6815.
This commit is contained in:
Ykkrosh 2009-04-11 16:58:26 +00:00
parent 435e39b040
commit ce3994fc7a

View File

@ -233,7 +233,7 @@ static void OutputElement(const xmlNodePtr node, WriteBuffer& writeBuffer,
}
}
u32 linenum = XML_GET_LINE(node);
u32 linenum = xmlGetLineNo(node);
// Find the start of the non-whitespace section
size_t first = text.find_first_not_of(whitespace);