From 77a0dc234e1925173a8944e9e641d72d9fe39aba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 00:15:20 +0300 Subject: awful crutch for Pascal plugins to use pseudo-constructor a la CMPlugin --- include/delphi/m_helpers.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/delphi/m_helpers.inc') diff --git a/include/delphi/m_helpers.inc b/include/delphi/m_helpers.inc index 9810ff69a4..bea8231de3 100644 --- a/include/delphi/m_helpers.inc +++ b/include/delphi/m_helpers.inc @@ -254,9 +254,8 @@ end; function Langpack_Register:int_ptr; begin - mir_getLP(PluginInfo, hLangpack); cli := Clist_GetInterface(); - result:=hLangpack; + result := hLangpack; end; -- cgit v1.2.3