summaryrefslogtreecommitdiff
path: root/include/delphi/m_helpers.inc
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 00:15:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 00:15:20 +0300
commit77a0dc234e1925173a8944e9e641d72d9fe39aba (patch)
treef9b053818a579cc2f9f63ab964d546532403d582 /include/delphi/m_helpers.inc
parent7f37f113f29dfba362269266be7c751aaf87851f (diff)
awful crutch for Pascal plugins to use pseudo-constructor a la CMPlugin
Diffstat (limited to 'include/delphi/m_helpers.inc')
-rw-r--r--include/delphi/m_helpers.inc3
1 files changed, 1 insertions, 2 deletions
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;