diff options
Diffstat (limited to 'plugins/Bonsai/FixOptions/Bonsai.cpp')
-rw-r--r-- | plugins/Bonsai/FixOptions/Bonsai.cpp | 7 |
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));
|