From f3b8fb3e671146d93c48ce1196221e056f4f5205 Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Mon, 15 Dec 2014 02:57:13 +0100 Subject: [PATCH] Cleanup. --- include/bx/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)