diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-08 22:00:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-08 22:00:25 +0000 |
commit | 18aec330d11e9e5acdfd032e5f614beed08eaa0c (patch) | |
tree | e31c1794a91738740537092b663ff7e567459ca3 /plugins/Clist_mw/src/clc.cpp | |
parent | 3be534c7528386c00bc31fca9c15b87d214f5cc1 (diff) |
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
Diffstat (limited to 'plugins/Clist_mw/src/clc.cpp')
-rw-r--r-- | plugins/Clist_mw/src/clc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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)
|