diff --git a/far/changelog b/far/changelog index 168f76951f..8a77197380 100644 --- a/far/changelog +++ b/far/changelog @@ -1,3 +1,8 @@ +-------------------------------------------------------------------------------- +drkns 2024-02-05 00:21:12+00:00 - build 6269 + +1. Correction of 6267. + -------------------------------------------------------------------------------- rohitab 2024-02-04 15:53:24+11:00 - build 6268 diff --git a/far/pathmix.cpp b/far/pathmix.cpp index 815a448c83..b6492b94c4 100644 --- a/far/pathmix.cpp +++ b/far/pathmix.cpp @@ -344,6 +344,7 @@ string AddEndSlash(string_view const Path) return Result = Path; Result.reserve(Path.size() + 1); + Result = Path; AddEndSlash(Result); return Result; } @@ -912,6 +913,7 @@ TEST_CASE("path.AddEndSlash") string Str(i.Input); AddEndSlash(Str); REQUIRE(Str == i.Result); + REQUIRE(AddEndSlash(i.Input) == i.Result); wchar_t Buffer[64]; REQUIRE(i.Input.size() < std::size(Buffer)); diff --git a/far/vbuild.m4 b/far/vbuild.m4 index 311191cad2..9dde83489b 100644 --- a/far/vbuild.m4 +++ b/far/vbuild.m4 @@ -1 +1 @@ -6268 +6269