summaryrefslogtreecommitdiff
path: root/plugins/Bonsai/FixOptions/Bonsai.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-18 20:27:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-18 20:27:43 +0000
commit6dfdccb3decd016ced438309d326547e5244604e (patch)
treeaa699dd48dcf31ef7e534ab0e3834034457f58b0 /plugins/Bonsai/FixOptions/Bonsai.cpp
parent9ed5a0436109770d38318ae9a3c117f46aeefa5e (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@55 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Bonsai/FixOptions/Bonsai.cpp')
-rw-r--r--plugins/Bonsai/FixOptions/Bonsai.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Bonsai/FixOptions/Bonsai.cpp b/plugins/Bonsai/FixOptions/Bonsai.cpp
index cddbf70ff5..bea3156f89 100644
--- a/plugins/Bonsai/FixOptions/Bonsai.cpp
+++ b/plugins/Bonsai/FixOptions/Bonsai.cpp
@@ -34,6 +34,7 @@ HIMAGELIST imgList = NULL;
PLUGINLINK *pluginLink;
int hLangpack;
+struct MM_INTERFACE mmi;
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
@@ -80,15 +81,13 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
LogInit();
pluginLink = link;
- mir_getLP(&pluginInfoEx);
+ mir_getMMI(&mmi);
+ mir_getLP(&pluginInfo);
InitServices();
HookEvents();
- InitializeMirandaMemFunctions();
-
-
hbModified = LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_MODIFIED));
hbUnmodified = LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_UNMODIFIED));
hbHidden = LoadBitmap(hInstance, MAKEINTRESOURCE(IDB_HIDDEN));