Added tabs to treatment as white space to skyWhiteSpace()
This commit is contained in:
parent
1241f8a0d6
commit
f3c20310d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user