diff --git a/code/ParsingUtils.h b/code/ParsingUtils.h index 87653e2a6..2437fe071 100644 --- a/code/ParsingUtils.h +++ b/code/ParsingUtils.h @@ -131,7 +131,7 @@ inline bool GetNextLine(const char_t*& buffer, char_t out[4096]) template AI_FORCE_INLINE bool IsNumeric( char_t in) { - return in >= '0' && in <= '9' || '-' == in || '+' == in; + return ( in >= '0' && in <= '9' ) || '-' == in || '+' == in; } // --------------------------------------------------------------------------------- AI_FORCE_INLINE bool TokenMatch(char*& in, const char* token, unsigned int len)