summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-17 13:29:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-17 13:29:25 +0000
commit506ada9ca8febc13fbecebf5bc66e6dc879ad947 (patch)
treee23c713c80bfad692b3880161ee2cdb0f1bc1144 /plugins
parentf4d31db113cc058c5e1093e5e3a2c49b7ed74311 (diff)
... and vertical alignment too
git-svn-id: http://svn.miranda-ng.org/main/trunk@12889 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Clist_modern/src/modern_statusbar.cpp2
1 files changed, 1 insertions, 1 deletions
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;