summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/toolbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-22 14:15:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-22 14:15:47 +0000
commite5c6bbad43b0343cbdfe189fd7596371aaf040a0 (patch)
tree78672fab5f8aa3b58582f943547e83a1beff650b /plugins/TopToolBar/toolbar.cpp
parent1689562f568f248c2ce74dd8eee06e1a8f26d04f (diff)
minor TTB options fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/toolbar.cpp')
-rw-r--r--plugins/TopToolBar/toolbar.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/TopToolBar/toolbar.cpp b/plugins/TopToolBar/toolbar.cpp
index 52bcb09c97..3daa11df5f 100644
--- a/plugins/TopToolBar/toolbar.cpp
+++ b/plugins/TopToolBar/toolbar.cpp
@@ -20,14 +20,12 @@ int backgroundBmpUse;
static CRITICAL_SECTION csButtonsHook;
static int hFrameTopWindow = -1;
-/*
int sortfunc(const TopButtonInt* a, const TopButtonInt* b)
{
return a->arrangedpos - b->arrangedpos;
}
-*/
-LIST<TopButtonInt> Buttons(8);
+LIST<TopButtonInt> Buttons(8, sortfunc);
void lockbut()
{