diff --git a/src/string.cpp b/src/string.cpp index c41973a..51ca225 100644 --- a/src/string.cpp +++ b/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() );