diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-12 16:55:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-12 16:55:11 +0000 |
commit | a63f23128ea8468ec01e99976d046af8c6dfa807 (patch) | |
tree | b7bf5e1188f98b47afaee73c0d3ba9a3f5a2e89f /plugins/Clist_modern | |
parent | ec2d0c98145867ab68ab844a469fc26b3da9f820 (diff) |
customized toolbars: initial settings
git-svn-id: http://svn.miranda-ng.org/main/trunk@929 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/modern_toolbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_toolbar.cpp b/plugins/Clist_modern/modern_toolbar.cpp index 33776eacd3..92a46dcd46 100644 --- a/plugins/Clist_modern/modern_toolbar.cpp +++ b/plugins/Clist_modern/modern_toolbar.cpp @@ -57,10 +57,10 @@ static void SetButtonPressed(int i, int state) static int Modern_InitButtons(WPARAM, LPARAM)
{
- TTBButton tbb = { 0 };
- tbb.cbSize = sizeof(tbb);
-
for (int i=0; i < SIZEOF(BTNS); i++) {
+ TTBButton tbb = { 0 };
+ tbb.cbSize = sizeof(tbb);
+
if (BTNS[i].pszButtonID) {
tbb.name = LPGEN(BTNS[i].pszButtonID);
tbb.pszService = BTNS[i].pszServiceName;
|