diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 05:29:06 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-27 05:29:06 +0000 |
commit | 9f5f3d03bbbaddc45e69c44f5e37fb5b324e03ef (patch) | |
tree | 46d32f7ff4a4347ab83a62df014538d728408ec7 /plugins/Clist_blind/src/clcpaint.cpp | |
parent | 80a0da76eb4d30ffb40374587b3d675052edfc64 (diff) |
Clist_blind common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13187 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_blind/src/clcpaint.cpp')
-rw-r--r-- | plugins/Clist_blind/src/clcpaint.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) {
|