diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-23 23:29:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-23 23:29:25 +0300 |
commit | 176e52e14fd0358a7f26ca8d7b0205244dfde2e7 (patch) | |
tree | 10da2f8951d20103af0215c38d07ea96ba61c191 /plugins/FileAsMessage/src/main.cpp | |
parent | 91b13500b47a51f3a284d9f409b7b8dac167a06d (diff) |
no need to initialize pcli variable in each plugin (only in Clist_*)
Diffstat (limited to 'plugins/FileAsMessage/src/main.cpp')
-rw-r--r-- | plugins/FileAsMessage/src/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/FileAsMessage/src/main.cpp b/plugins/FileAsMessage/src/main.cpp index c709181372..f6ffd068d2 100644 --- a/plugins/FileAsMessage/src/main.cpp +++ b/plugins/FileAsMessage/src/main.cpp @@ -1,9 +1,9 @@ #include "stdafx.h"
-CLIST_INTERFACE *pcli;
-MWindowList hFileList;
CMPlugin g_plugin;
+MWindowList hFileList;
+
char *szServiceTitle = SERVICE_TITLE;
char *szServicePrefix = SERVICE_PREFIX;
HANDLE hHookDbSettingChange, hHookContactAdded, hHookSkinIconsChanged;
@@ -185,8 +185,6 @@ static int OnModulesLoaded(WPARAM, LPARAM) extern "C" __declspec(dllexport) int Load(void)
{
- pcli = Clist_GetInterface();
-
InitCRC32();
g_plugin.registerIcon("fileAsMessage", iconList);
|