diff --git a/include/bx/string.h b/include/bx/string.h index 2c805e8..aed38e7 100644 --- a/include/bx/string.h +++ b/include/bx/string.h @@ -100,7 +100,7 @@ namespace bx const char* search = _find; // Start comparing. - while (tolower(*string++) == tolower(*search++)) + while (tolower(*string++) == tolower(*search++) ) { // If end of the 'search' string is reached, all characters match. if ('\0' == *search) @@ -141,7 +141,7 @@ namespace bx const char* search = _find; // Start comparing. - while (tolower(*string++) == tolower(*search++)) + while (tolower(*string++) == tolower(*search++) ) { // If end of the 'search' string is reached, all characters match. if ('\0' == *search)