diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-24 21:47:14 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-24 21:47:14 +0300 |
commit | 775aa132d862c4b707f72ed81c0e614a959c5bb0 (patch) | |
tree | a8eb0e1657e59242cc89598667fd9ee8ed4bbc46 | |
parent | d378584e2912782009b3d5eb197465ae2a321596 (diff) |
fixes #939 (Crash in service mode)
-rw-r--r-- | include/delphi/m_helpers.inc | 4 |
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}
|