From 4a0fce7d613a7b0561603b159323c0bde4e129fd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 7 Nov 2012 12:28:15 +0000 Subject: fix for the group line length calculation git-svn-id: http://svn.miranda-ng.org/main/trunk@2229 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdclist/src/clcpaint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/stdclist/src/clcpaint.cpp b/src/core/stdclist/src/clcpaint.cpp index 4a46ce1903..705a40b2a0 100644 --- a/src/core/stdclist/src/clcpaint.cpp +++ b/src/core/stdclist/src/clcpaint.cpp @@ -458,7 +458,7 @@ void PaintClc(HWND hwnd, struct ClcData *dat, HDC hdc, RECT * rcPaint) rc.top = y + (dat->rowHeight >> 1); rc.bottom = rc.top + 2; rc.left = dat->leftMargin + indent * dat->groupIndent + checkboxWidth + dat->iconXSpace + width + 3; - rc.right = clRect.right - 1 - dat->extraColumnSpacing * dat->extraColumnsCount; + rc.right = clRect.right - 1; if (rc.right - rc.left > 1) DrawEdge(hdcMem, &rc, BDR_SUNKENOUTER, BF_RECT); } -- cgit v1.2.3