Dario Manesku 11 tahun lalu
induk
melakukan
f3b8fb3e67
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      include/bx/string.h

+ 2 - 2
include/bx/string.h

@@ -100,7 +100,7 @@ namespace bx
 			const char* search = _find;
 			const char* search = _find;
 
 
 			// Start comparing.
 			// Start comparing.
-			while (tolower(*string++) == tolower(*search++))
+			while (tolower(*string++) == tolower(*search++) )
 			{
 			{
 				// If end of the 'search' string is reached, all characters match.
 				// If end of the 'search' string is reached, all characters match.
 				if ('\0' == *search)
 				if ('\0' == *search)
@@ -141,7 +141,7 @@ namespace bx
 			const char* search = _find;
 			const char* search = _find;
 
 
 			// Start comparing.
 			// Start comparing.
-			while (tolower(*string++) == tolower(*search++))
+			while (tolower(*string++) == tolower(*search++) )
 			{
 			{
 				// If end of the 'search' string is reached, all characters match.
 				// If end of the 'search' string is reached, all characters match.
 				if ('\0' == *search)
 				if ('\0' == *search)