summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-24 13:18:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-24 13:18:53 +0000
commit862116c0d40a7304c458f68c4c725e8a95960588 (patch)
tree502d5281f70842bbc8ada15d5a03673106b3f61f /plugins/Clist_mw/src/clui.cpp
parent04ea225a48f0fe836361882cb0f78e7b99ee582f (diff)
valid first parameter's name of ME_DB_CONTACT_SETTINGCHANGED handlers
git-svn-id: http://svn.miranda-ng.org/main/trunk@8255 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_mw/src/clui.cpp')
-rw-r--r--plugins/Clist_mw/src/clui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_mw/src/clui.cpp b/plugins/Clist_mw/src/clui.cpp
index f7d929cce5..ca39b38253 100644
--- a/plugins/Clist_mw/src/clui.cpp
+++ b/plugins/Clist_mw/src/clui.cpp
@@ -334,12 +334,12 @@ int CreateTimerForConnectingIcon(WPARAM wParam, LPARAM lParam)
// Restore protocols to the last global status.
// Used to reconnect on restore after standby.
-int OnSettingChanging(WPARAM wParam, LPARAM lParam)
+int OnSettingChanging(WPARAM hContact, LPARAM lParam)
{
DBCONTACTWRITESETTING *dbcws = (DBCONTACTWRITESETTING *)lParam;
- if (wParam == 0) {
- if ((dbcws->value.type == DBVT_BYTE)&&!strcmp(dbcws->szModule,"CLUI")) {
- if ( !strcmp(dbcws->szSetting,"SBarShow")) {
+ if (hContact == 0) {
+ if ((dbcws->value.type == DBVT_BYTE) && !strcmp(dbcws->szModule,"CLUI")) {
+ if (!strcmp(dbcws->szSetting,"SBarShow")) {
showOpts = dbcws->value.bVal;
return 0;
}