[FarGroup/FarManager] master: HlfViewer: Adapt to 6570 / gh-939 (revert v51) (730aaed80)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Oct 4, 2025, 4:30:51 PMOct 4
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/730aaed80147aad489c012f8e62052da019f62cd

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

commit 730aaed80147aad489c012f8e62052da019f62cd
Author: Alex Alabuzhev <alab...@gmail.com>
Date: Sat Oct 4 21:25:21 2025 +0100

HlfViewer: Adapt to 6570 / gh-939 (revert v51)


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

730aaed80147aad489c012f8e62052da019f62cd
plugins/hlfviewer/HlfViewer.cpp | 4 ++--
plugins/hlfviewer/changelog | 4 ++++
plugins/hlfviewer/version.hpp | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/plugins/hlfviewer/HlfViewer.cpp b/plugins/hlfviewer/HlfViewer.cpp
index 43f01b644..72dda4b61 100644
--- a/plugins/hlfviewer/HlfViewer.cpp
+++ b/plugins/hlfviewer/HlfViewer.cpp
@@ -325,7 +325,7 @@ bool ShowCurrentHelpTopic()
{
case 1:

- if (ei.CurState & ECSTATE_MODIFIED)
+ if (!(ei.CurState & ECSTATE_SAVED))
ShowHelpFromTempFile();
else
{
@@ -341,7 +341,7 @@ bool ShowCurrentHelpTopic()
break;
case 2:

- if (ei.CurState & ECSTATE_MODIFIED)
+ if (!(ei.CurState & ECSTATE_SAVED))
PsInfo.EditorControl(-1,ECTL_SAVEFILE, 0, {});
[[fallthrough]];
default:
diff --git a/plugins/hlfviewer/changelog b/plugins/hlfviewer/changelog
index f3f3832ba..bea09f8e0 100644
--- a/plugins/hlfviewer/changelog
+++ b/plugins/hlfviewer/changelog
@@ -1,3 +1,7 @@
+drkns 2025-10-04 21:07:53+01:00 - build 52
+
+1. Adapt to 6570 / gh-939 (revert v51).
+
drkns 2025-10-03 10:13:12+01:00 - build 51

1. Adapt to 6562 / gh-939.
diff --git a/plugins/hlfviewer/version.hpp b/plugins/hlfviewer/version.hpp
index a5903c727..0710181d1 100644
--- a/plugins/hlfviewer/version.hpp
+++ b/plugins/hlfviewer/version.hpp
@@ -1,6 +1,6 @@
#include <farversion.hpp>

-#define PLUGIN_BUILD 51
+#define PLUGIN_BUILD 52
#define PLUGIN_DESC L"Hlf-file Viewer for Far Manager"
#define PLUGIN_NAME L"HlfViewer"
#define PLUGIN_FILENAME L"HlfViewer.dll"


Reply all
Reply to author
Forward
0 new messages