Added tabs to treatment as white space to skyWhiteSpace()

This commit is contained in:
Robert Osfield 2009-08-18 13:38:17 +00:00
parent 1241f8a0d6
commit f3c20310d6

View File

@ -120,7 +120,7 @@ void XmlNode::Input::readAllDataIntoBuffer()
void XmlNode::Input::skipWhiteSpace()
{
while(_currentPos<_buffer.size() && _buffer[_currentPos]==' ')
while(_currentPos<_buffer.size() && _buffer[_currentPos]==' ' || _buffer[_currentPos]=='\t' )
{
// osg::notify(osg::NOTICE)<<"_currentPos="<<_currentPos<<"_buffer.size()="<<_buffer.size()<<" v="<<_buffer[_currentPos]<<std::endl;
++_currentPos;