diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-07 13:51:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-07 13:51:06 +0300 |
commit | 609c3041668b36bc6abfa9511aa4e197bf0060ff (patch) | |
tree | 64c30677246aad9876ea037dbe8710833edd466f /plugins/Clist_nicer/src/statusbar.cpp | |
parent | 375c728e532139cb4ee4fe8c8266d511e5c9a289 (diff) |
duplicate ME_PROTO_ACK handlers merged together
Diffstat (limited to 'plugins/Clist_nicer/src/statusbar.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/statusbar.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/statusbar.cpp b/plugins/Clist_nicer/src/statusbar.cpp index 16ab1a814f..d1e1789c81 100644 --- a/plugins/Clist_nicer/src/statusbar.cpp +++ b/plugins/Clist_nicer/src/statusbar.cpp @@ -87,7 +87,6 @@ LRESULT CALLBACK NewStatusBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM HDC hdc = BeginPaint(hwnd, &ps);
HDC hdcMem = CreateCompatibleDC(hdc);
RECT rcClient, rcWindow;
- DRAWITEMSTRUCT dis = { 0 };
BYTE windowStyle = db_get_b(NULL, "CLUI", "WindowStyle", SETTING_WINDOWSTYLE_DEFAULT);
LONG b_offset = cfg::dat.bClipBorder + (windowStyle == SETTING_WINDOWSTYLE_NOBORDER ? 2 : (windowStyle == SETTING_WINDOWSTYLE_THINBORDER ? 1 : 0));
@@ -113,9 +112,9 @@ LRESULT CALLBACK NewStatusBarWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM item->CORNER, item->BORDERSTYLE, item->imageItem);
SetTextColor(hdcMem, item->TEXTCOLOR);
}
- else
- SetTextColor(hdcMem, GetSysColor(COLOR_BTNTEXT));
+ else SetTextColor(hdcMem, GetSysColor(COLOR_BTNTEXT));
+ DRAWITEMSTRUCT dis = { 0 };
dis.hwndItem = hwnd;
dis.hDC = hdcMem;
dis.CtlType = 0;
|