Tidy up string find API usages.

This commit is contained in:
Jeff Young
2024-05-28 15:30:29 +01:00
parent 11b72c294b
commit bab97f91cc
8 changed files with 30 additions and 33 deletions
+1 -1
View File
@@ -903,7 +903,7 @@ bool WRLPROC::ReadSFInt( int& aSFInt32 )
return false;
}
if( std::string::npos != tmp.find( "0x" ) )
if( tmp.find( "0x" ) != std::string::npos )
{
// Rules: "0x" + "0-9, A-F" - VRML is case sensitive but in
// this instance we do no enforce case.