summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-24 21:47:14 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-24 21:47:14 +0300
commit775aa132d862c4b707f72ed81c0e614a959c5bb0 (patch)
treea8eb0e1657e59242cc89598667fd9ee8ed4bbc46 /include
parentd378584e2912782009b3d5eb197465ae2a321596 (diff)
fixes #939 (Crash in service mode)
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_helpers.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc
index f155f94866..9810ff69a4 100644
--- a/include/delphi/m_helpers.inc
+++ b/include/delphi/m_helpers.inc
@@ -255,6 +255,7 @@ end;
function Langpack_Register:int_ptr;
begin
mir_getLP(PluginInfo, hLangpack);
+ cli := Clist_GetInterface();
result:=hLangpack;
end;
@@ -410,7 +411,4 @@ begin
UuidFromStringA(strguid, pmi.uid);
end;
-initialization
- cli := Clist_GetInterface();
-
{$ENDIF}