From 775aa132d862c4b707f72ed81c0e614a959c5bb0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Sep 2017 21:47:14 +0300 Subject: fixes #939 (Crash in service mode) --- include/delphi/m_helpers.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/delphi/m_helpers.inc') 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} -- cgit v1.2.3