[FarGroup/FarManager] master: Minor cleanup (7e4bb48c0)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Dec 3, 2025, 8:02:01 PM (3 days ago) Dec 3
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/7e4bb48c0e79ef36f35bcfec431c7e34430f22d3

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

commit 7e4bb48c0e79ef36f35bcfec431c7e34430f22d3
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Thu Dec 4 00:50:33 2025 +0000

Minor cleanup


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

7e4bb48c0e79ef36f35bcfec431c7e34430f22d3
far/RegExp.cpp | 3 ---
1 file changed, 3 deletions(-)

diff --git a/far/RegExp.cpp b/far/RegExp.cpp
index 1abd70cd7..27c17c417 100644
--- a/far/RegExp.cpp
+++ b/far/RegExp.cpp
@@ -80,9 +80,6 @@ bool is_far_eol(const wchar_t* const Begin, const wchar_t* const Iterator, const
if (*Iterator == L'\n' || Str.starts_with(L"\r\n"sv))
return Iterator == Begin || Iterator[-1] != L'\r';

- if (Str.starts_with(L"\r\r\n"sv))
- return true;
-
return *Iterator == L'\r';
}



Reply all
Reply to author
Forward
0 new messages