Repository :
https://github.com/FarGroup/FarManager
On branch : master
Link :
https://github.com/FarGroup/FarManager/commit/9ebe8265cf98560f0648dd39f78e13fa5c5ef582
>---------------------------------------------------------------
commit 9ebe8265cf98560f0648dd39f78e13fa5c5ef582
Author: Zeroes1 <
Zer...@gmail.com>
Date: Mon Sep 21 22:00:50 2026 +0300
gh-1131: fix newline rendering in database error messages
>---------------------------------------------------------------
9ebe8265cf98560f0648dd39f78e13fa5c5ef582
far/changelog | 5 +++++
far/configdb.cpp | 5 ++++-
far/vbuild.m4 | 2 +-
3 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/far/changelog b/far/changelog
index b13bafce7..add519681 100644
--- a/far/changelog
+++ b/far/changelog
@@ -1,3 +1,8 @@
+--------------------------------------------------------------------------------
+zeroes 2026-09-21 21:45:27+03:00 - build 6737
+
+1. gh-1131: fix newline rendering in database error messages
+
--------------------------------------------------------------------------------
drkns 2026-09-20 09:20:27+01:00 - build 6736
diff --git a/far/configdb.cpp b/far/configdb.cpp
index 073f9d8f8..ef45c5fdd 100644
--- a/far/configdb.cpp
+++ b/far/configdb.cpp
@@ -2700,7 +2700,10 @@ std::unique_ptr<T> config_provider::CreateWithFallback(string_view const Name)
if (m_Mode != mode::m_default)
std::wcerr << Msg << std::endl;
else
- m_Problems.emplace_back(Msg);
+ {
+ for (const auto& i: enum_tokens(Msg, L"\n"sv))
+ m_Problems.emplace_back(i);
+ }
};
try
diff --git a/far/vbuild.m4 b/far/vbuild.m4
index a153da9df..14ccd0fec 100644
--- a/far/vbuild.m4
+++ b/far/vbuild.m4
@@ -1 +1 @@
-6736
+6737