diff options
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r-- | plugins/HistoryPlusPlus/historypp.dpr | 5 |
1 files changed, 2 insertions, 3 deletions
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;
|