From 18aec330d11e9e5acdfd032e5f614beed08eaa0c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 8 Nov 2012 22:00:25 +0000 Subject: fix for clicking on extra icons (for all plugins but clist nicer+) git-svn-id: http://svn.miranda-ng.org/main/trunk@2250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_mw/src/clc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_mw/src/clc.cpp') diff --git a/plugins/Clist_mw/src/clc.cpp b/plugins/Clist_mw/src/clc.cpp index 9a52b8b4cc..0dfd111c39 100644 --- a/plugins/Clist_mw/src/clc.cpp +++ b/plugins/Clist_mw/src/clc.cpp @@ -52,13 +52,13 @@ void StatusUpdaterThread(void*) SetThreadPriority(GetCurrentThread(),THREAD_PRIORITY_LOWEST); while (!stopStatusUpdater) { - curdelay = DBGetContactSettingByte(hContact,"CList","StatusMsgAutoDelay",15000); + curdelay = db_get_b(hContact,"CList","StatusMsgAutoDelay",15000); if (curdelay<5000) curdelay = 5000; if ((int)(GetTickCount()-lastcheck)>curdelay) { lastcheck = GetTickCount(); - if (DBGetContactSettingByte(hContact,"CList","StatusMsgAuto",0)) { + if ( db_get_b(hContact,"CList","StatusMsgAuto",0)) { for (i = 0; i<5; i++) { if (hContact != NULL) { pClcCacheEntry pdnce = (pClcCacheEntry)pcli->pfnGetCacheEntry((HANDLE)hContact); @@ -76,7 +76,7 @@ void StatusUpdaterThread(void*) } } } - //Sleep(DBGetContactSettingByte(hContact,"CList","StatusMsgAutoDelay",100)); + //Sleep( db_get_b(hContact,"CList","StatusMsgAutoDelay",100)); Sleep(200); } } @@ -89,7 +89,7 @@ HMENU BuildGroupPopupMenu( ClcGroup* group ) void SortClcByTimer (HWND hwnd) { KillTimer(hwnd,TIMERID_DELAYEDRESORTCLC); - SetTimer(hwnd,TIMERID_DELAYEDRESORTCLC,DBGetContactSettingByte(NULL,"CLUI","DELAYEDTIMER",200),NULL); + SetTimer(hwnd,TIMERID_DELAYEDRESORTCLC,db_get_b(NULL,"CLUI","DELAYEDTIMER",200),NULL); } static int ClcSettingChanged(WPARAM wParam, LPARAM lParam) -- cgit v1.2.3