summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/tipper.cpp
diff options
context:
space:
mode:
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);