From 9f5f3d03bbbaddc45e69c44f5e37fb5b324e03ef Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 27 Apr 2015 05:29:06 +0000 Subject: Clist_blind common project git-svn-id: http://svn.miranda-ng.org/main/trunk@13187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_blind/src/clcpaint.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_blind/src/clcpaint.cpp') diff --git a/plugins/Clist_blind/src/clcpaint.cpp b/plugins/Clist_blind/src/clcpaint.cpp index 4465622819..82ffbf2b43 100644 --- a/plugins/Clist_blind/src/clcpaint.cpp +++ b/plugins/Clist_blind/src/clcpaint.cpp @@ -21,7 +21,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "commonheaders.h" +#include "stdafx.h" extern HIMAGELIST himlCListClc; static BYTE divide3[765] = { 255 }; @@ -265,9 +265,9 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint) int selected = index == dat->selection && (dat->showSelAlways || dat->exStyle & CLS_EX_SHOWSELALWAYS || GetFocus() == hwnd) && group->cl.items[group->scanIndex]->type != CLCIT_DIVIDER; int hottrack = dat->exStyle & CLS_EX_TRACKSELECT && group->cl.items[group->scanIndex]->type != CLCIT_DIVIDER && dat->iHotTrack == index; - SIZE textSize, countsSize, spaceSize; + SIZE textSize, countsSize = { 0 }, spaceSize = { 0 }; int width, checkboxWidth; - char *szCounts; + char *szCounts = NULL; //alternating grey if (style & CLS_GREYALTERNATE && index & 1) { -- cgit v1.2.3