Search found 1 match

by patfns
Sat Apr 22, 2006 3:06 am
Forum: Game Programming
Topic: irrXML "single char after specialChar" bug
Replies: 0
Views: 1542

irrXML "single char after specialChar" bug

Example: <blabla myattr1="<sup>X"/> The result of getAttributeValue() is "<sup>" and not "<sup>X". It's a tiny bug in the replaceSpecialCharacters function (CXMLReaderImpl.h). Here my bugfix: // if (oldPos < origstr.size()-1) if (oldPos <= origstr.size()-1) newstr.appen...