[colorer/Colorer-library] cregexp_refactoring: change type (ee78889)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Aug 16, 2026, 3:46:14 PM (12 hours ago) Aug 16
to farco...@googlegroups.com
Repository : https://github.com/colorer/Colorer-library
On branch : cregexp_refactoring
Link : https://github.com/colorer/Colorer-library/commit/ee788891ee4e34abccff9583e04e4017e4aed88f

>---------------------------------------------------------------

commit ee788891ee4e34abccff9583e04e4017e4aed88f
Author: Aleksey Dobrunov <cta...@ctapmex.com>
Date: Mon Aug 17 00:33:28 2026 +0500

change type


>---------------------------------------------------------------

ee788891ee4e34abccff9583e04e4017e4aed88f
src/colorer/cregexp/cregexp.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/colorer/cregexp/cregexp.cpp b/src/colorer/cregexp/cregexp.cpp
index 6f2182b..ab9797b 100644
--- a/src/colorer/cregexp/cregexp.cpp
+++ b/src/colorer/cregexp/cregexp.cpp
@@ -801,7 +801,7 @@ EError CRegExp::setStructs(SRegInfo*& re, const UnicodeString& expr, int from, i
// parsing
////////////////////////////////////////////////////////////////////////////

-static bool isLineBreak(wchar_t c)
+static bool isLineBreak(wchar c)
{
return c == 0x0A || c == 0x0B || c == 0x0C || c == 0x0D || c == 0x85 || c == 0x2028 || c == 0x2029;
}


Reply all
Reply to author
Forward
0 new messages