Repository :
https://github.com/FarGroup/FarManager
On branch : master
Link :
https://github.com/FarGroup/FarManager/commit/b0455dc32959167e14ac376864fe23464719c4a2
>---------------------------------------------------------------
commit b0455dc32959167e14ac376864fe23464719c4a2
Author: Alex Alabuzhev <
alab...@gmail.com>
Date: Mon Dec 1 20:54:28 2025 +0000
Fix separator text in Message function
>---------------------------------------------------------------
b0455dc32959167e14ac376864fe23464719c4a2
far/message.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/far/message.cpp b/far/message.cpp
index 67f3d0379..1c0e3d928 100644
--- a/far/message.cpp
+++ b/far/message.cpp
@@ -325,6 +325,7 @@ static message_result MessageImpl(
if (!Str.empty() && any_of(Str.front(), L'\1', L'\2'))
{
Item.Flags |= (Str.front() == L'\2'? DIF_SEPARATOR2 : DIF_SEPARATOR);
+ Str.erase(0, 1);
if(Index == Strings.size() - 1)
{
StrSeparator=true;
@@ -339,9 +340,8 @@ static message_result MessageImpl(
Item.X1 = 5;
Item.X2 = Position.width() - 6;
}
-
- Item.strData = std::move(Str);
}
+ Item.strData = std::move(Str);
MsgDlg.emplace_back(std::move(Item));
}