summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-01-08 14:40:30 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-01-08 14:40:30 +0000
commit166213fbc42066680b8423a735d36eb260a30c75 (patch)
treef3e93e7d12d1b103091ee5bb384801f43520fc8e /plugins/PluginUpdater
parent57d0746779da6093fb6029ca3cd4a998a17643e9 (diff)
IM updater - crash fix on early Miranda IM 0.8 core
git-svn-id: http://svn.miranda-ng.org/main/trunk@11796 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater')
-rw-r--r--plugins/PluginUpdater/src/PluginUpdater.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp
index 0e5d3e7bda..e508e4e35e 100644
--- a/plugins/PluginUpdater/src/PluginUpdater.cpp
+++ b/plugins/PluginUpdater/src/PluginUpdater.cpp
@@ -61,7 +61,8 @@ extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
{
pluginLink = link;
mir_getMMI(&mmi);
- mir_getLI(&li);
+ li.cbSize = LIST_INTERFACE_V2_SIZE;
+ CallService(MS_SYSTEM_GET_LI, 0, (LPARAM)&li);
mir_getMD5I(&md5i);
mir_getUTFI(&utfi);
#else