summaryrefslogtreecommitdiff
path: root/plugins/CSList/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-23 23:29:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-23 23:29:25 +0300
commit176e52e14fd0358a7f26ca8d7b0205244dfde2e7 (patch)
tree10da2f8951d20103af0215c38d07ea96ba61c191 /plugins/CSList/src
parent91b13500b47a51f3a284d9f409b7b8dac167a06d (diff)
no need to initialize pcli variable in each plugin (only in Clist_*)
Diffstat (limited to 'plugins/CSList/src')
-rw-r--r--plugins/CSList/src/cslist.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/CSList/src/cslist.cpp b/plugins/CSList/src/cslist.cpp
index a65a9ffbf7..25f0f84cff 100644
--- a/plugins/CSList/src/cslist.cpp
+++ b/plugins/CSList/src/cslist.cpp
@@ -27,7 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdafx.h"
#include "strpos.h"
-CLIST_INTERFACE *pcli;
CMPlugin g_plugin;
static LIST<CSWindow> arWindows(3, HandleKeySortT);
@@ -99,8 +98,6 @@ static int OnPreshutdown(WPARAM, LPARAM)
extern "C" __declspec(dllexport) int Load()
{
- pcli = Clist_GetInterface();
-
// support for ComboBoxEx
INITCOMMONCONTROLSEX icc;
icc.dwSize = sizeof(icc);
@@ -949,7 +946,7 @@ INT_PTR CALLBACK CSWindowProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lpa
INT_PTR CALLBACK CSAMWindowProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam)
{
- CSAMWindow* csamw = (CSAMWindow*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
+ CSAMWindow *csamw = (CSAMWindow*)GetWindowLongPtr(hwnd, GWLP_USERDATA);
switch (message) {
case WM_INITDIALOG: