From e5c6bbad43b0343cbdfe189fd7596371aaf040a0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 22 Jun 2012 14:15:47 +0000 Subject: minor TTB options fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/toolbar.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/TopToolBar/toolbar.cpp') 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 Buttons(8); +LIST Buttons(8, sortfunc); void lockbut() { -- cgit v1.2.3