From 98f49cfe6ba1ef8ee6351652b2850d84dfff882e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 23 Oct 2018 21:20:16 -0700 Subject: [PATCH] Cleanup. --- src/string.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() );