Explorar el Código

Add parenthesis to fix "&& within ||" warning on OS X

Nur Monson hace 12 años
padre
commit
0180cc72bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Core/Contents/Source/tinyxmlparser.cpp

+ 1 - 1
Core/Contents/Source/tinyxmlparser.cpp

@@ -354,7 +354,7 @@ const char* TiXmlBase::SkipWhiteSpace( const char* p, TiXmlEncoding encoding )
 	}
 	else
 	{
-		while ( *p && IsWhiteSpace( *p ) || *p == '\n' || *p =='\r' )
+		while ( *p && (IsWhiteSpace( *p ) || *p == '\n' || *p =='\r') )
 			++p;
 	}