From 7f063463ad52d624be67171c0aca728adb9fa0bc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Apr 2020 20:31:23 +0300 Subject: =?UTF-8?q?fixes=20#2326=20(=D0=92=D1=8B=D0=B3=D1=80=D1=83=D0=B6?= =?UTF-8?q?=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9=20NewStory=20=D0=BD=D0=B5=20?= =?UTF-8?q?=D0=B4=D0=B0=D1=91=D1=82=20=D0=BA=D0=BE=D1=80=D1=80=D0=B5=D0=BA?= =?UTF-8?q?=D1=82=D0=BD=D0=BE=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=D1=82=D1=8C=20=D0=B2=D1=8B=D0=B3=D1=80=D1=83=D0=B6=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20History++)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/HistoryPlusPlus/historypp.dpr | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/HistoryPlusPlus') diff --git a/plugins/HistoryPlusPlus/historypp.dpr b/plugins/HistoryPlusPlus/historypp.dpr index 62dc2d019d..d12fae42a4 100644 --- a/plugins/HistoryPlusPlus/historypp.dpr +++ b/plugins/HistoryPlusPlus/historypp.dpr @@ -145,6 +145,7 @@ function Load():Integer; cdecl; begin Langpack_Register(); + RegisterHppLogger; // Getting langpack codepage for ansi translation hppCodepage := Langpack_GetDefaultCodePage; @@ -165,6 +166,7 @@ end; // unload function Unload:Integer; cdecl; begin + UnregisterHppLogger; Result:=0; // unhook events @@ -500,7 +502,6 @@ function OnPreshutdown(wParam: WPARAM; lParam: LPARAM): Integer; cdecl; begin Result := 0; NotifyAllForms(HM_MIEV_PRESHUTDOWN,0,0); - UnregisterHppLogger; end; exports @@ -511,8 +512,6 @@ exports begin DisableThreadLibraryCalls(hInstance); - RegisterHppLogger; - PluginInfo.cbSize:= SizeOf(TPLUGININFOEX); PluginInfo.shortName:= hppShortNameV; PluginInfo.version:= hppVersion; -- cgit v1.2.3