Branimir Karadžić 7 years ago
parent
commit
98f49cfe6b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/string.cpp

+ 2 - 2
src/string.cpp

@@ -557,7 +557,7 @@ namespace bx
 				return StringView(eol.getTerm(), _str.getTerm() );
 			}
 
-			eol = strFind(str, "\n");
+			eol = strFind(str, '\n');
 			if (!eol.isEmpty() )
 			{
 				return StringView(eol.getTerm(), _str.getTerm() );
@@ -581,7 +581,7 @@ namespace bx
 				return StringView(eol.getPtr(), _str.getTerm() );
 			}
 
-			eol = strFind(str, "\n");
+			eol = strFind(str, '\n');
 			if (!eol.isEmpty() )
 			{
 				return StringView(eol.getPtr(), _str.getTerm() );