summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/tipper.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-10 15:39:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-10 15:39:44 +0000
commit624a4190048b1205488f5973e121615c76171ae3 (patch)
tree5ecf810bc7bef4dda71a5791c2aa0fa2ffb29fa1 /plugins/TipperYM/src/tipper.cpp
parent45a5b1f9b7709f8d93b57abea7ba46b44eac5707 (diff)
even less calls of MS_CLIST_GETSTATUSMODEDESCRIPTION
git-svn-id: http://svn.miranda-ng.org/main/trunk@6429 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src/tipper.cpp')
-rw-r--r--plugins/TipperYM/src/tipper.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/TipperYM/src/tipper.cpp b/plugins/TipperYM/src/tipper.cpp
index 76a50680b1..c3161b17dc 100644
--- a/plugins/TipperYM/src/tipper.cpp
+++ b/plugins/TipperYM/src/tipper.cpp
@@ -37,6 +37,7 @@ HANDLE hReloadFonts = NULL;
HANDLE hFolderChanged, hSkinFolder;
TCHAR SKIN_FOLDER[256];
+CLIST_INTERFACE *pcli = NULL;
FI_INTERFACE *fii = NULL;
TIME_API tmi;
int hLangpack;
@@ -59,7 +60,7 @@ PLUGININFOEX pluginInfoEx =
bool WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
hInst = hinstDLL;
- return TRUE;
+ return TRUE;
}
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
@@ -92,7 +93,6 @@ int ReloadFont(WPARAM wParam, LPARAM lParam)
return 0;
}
-
// hack to hide tip when clist hides from timeout
int SettingChanged(WPARAM wParam, LPARAM lParam)
{
@@ -304,8 +304,9 @@ HANDLE hEventPreShutdown, hEventModulesLoaded;
extern "C" int __declspec(dllexport) Load(void)
{
CallService(MS_IMG_GETINTERFACE, FI_IF_VERSION, (LPARAM)&fii);
- mir_getTMI(&tmi);
mir_getLP(&pluginInfoEx);
+ mir_getCLI();
+ mir_getTMI(&tmi);
if (ServiceExists(MS_LANGPACK_GETCODEPAGE))
iCodePage = CallService(MS_LANGPACK_GETCODEPAGE, 0, 0);