summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-04 14:57:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-04 14:57:59 +0000
commitc16e8e071b0b84bfb4ed58d22779e3052b8407d3 (patch)
treee83a4eb5fa8857170b789fd0b0db4faf7b0896d6 /plugins/Clist_modern
parent7e1f3d714aa1cfd09293b5b7da949460ee983fad (diff)
fix for always visible TopToolBar frame
fixes #74 git-svn-id: http://svn.miranda-ng.org/main/trunk@3421 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r--plugins/Clist_modern/src/modern_toolbar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_toolbar.cpp b/plugins/Clist_modern/src/modern_toolbar.cpp
index f4bb35f70e..486cfe8a78 100644
--- a/plugins/Clist_modern/src/modern_toolbar.cpp
+++ b/plugins/Clist_modern/src/modern_toolbar.cpp
@@ -291,8 +291,7 @@ void CustomizeToolbar(HWND hwnd)
ModernToolbarCtrl* pMTBInfo = (ModernToolbarCtrl*)GetWindowLongPtr(hwnd, 0);
- CLISTFrame Frame = { 0 };
- Frame.cbSize = sizeof(Frame);
+ CLISTFrame Frame = { sizeof(Frame) };
Frame.tname = _T("Toolbar");
Frame.hWnd = hwnd;
Frame.align = alTop;