Added handling of false return
This commit is contained in:
parent
876c4882a3
commit
e5c0297167
@ -482,7 +482,8 @@ public:
|
||||
|
||||
virtual bool matchString( const std::string& str )
|
||||
{
|
||||
prepareStream();
|
||||
if (!prepareStream()) return false;
|
||||
|
||||
std::string strInStream = osgDB::trimEnclosingSpaces(_sstream.str());
|
||||
if ( strInStream==str )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user