From 176e52e14fd0358a7f26ca8d7b0205244dfde2e7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 May 2018 23:29:25 +0300 Subject: no need to initialize pcli variable in each plugin (only in Clist_*) --- plugins/ExternalAPI/m_skin_eng.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/m_skin_eng.h b/plugins/ExternalAPI/m_skin_eng.h index af1f8fe347..83d4801690 100644 --- a/plugins/ExternalAPI/m_skin_eng.h +++ b/plugins/ExternalAPI/m_skin_eng.h @@ -171,7 +171,7 @@ int __inline SkinDrawWindowBack(HWND hwndIn, HDC hdc, RECT * rcClip, char * obje GetWindowRect(hwndIn,&r1); pt.x=r1.left; pt.y=r1.top; - GetWindowRect(pcli->hwndContactList, &rc); + GetWindowRect(g_CLI.hwndContactList, &rc); OffsetRect(&rc,-pt.x ,-pt.y); rq.hDC=hdc; rq.rcDestRect=rc; -- cgit v1.2.3