From 506ada9ca8febc13fbecebf5bc66e6dc879ad947 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 17 Apr 2015 13:29:25 +0000 Subject: ... and vertical alignment too git-svn-id: http://svn.miranda-ng.org/main/trunk@12889 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_statusbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_modern') diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index 30ae38d66f..f2b35a2eb5 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -330,7 +330,7 @@ int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC) } int textY = rc.top + (((rc.bottom - rc.top) - textSize.cy) / 2); - int iconY = rc.top + (((rc.bottom - rc.top) - iconHeight) / 2) - 1; + int iconY = rc.top + (((rc.bottom - rc.top) - iconHeight) / 2); // Code for each line DWORD sw; -- cgit v1.2.3