summaryrefslogtreecommitdiff
path: root/plugins/Rate/src
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/Rate/src
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/Rate/src')
-rw-r--r--plugins/Rate/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Rate/src/main.cpp b/plugins/Rate/src/main.cpp
index a1622e3879..9ebcba682d 100644
--- a/plugins/Rate/src/main.cpp
+++ b/plugins/Rate/src/main.cpp
@@ -112,12 +112,12 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam)
return 0;
}
-int onContactSettingChanged(WPARAM wParam,LPARAM lParam)
+int onContactSettingChanged(WPARAM hContact,LPARAM lParam)
{
DBCONTACTWRITESETTING *cws=(DBCONTACTWRITESETTING*)lParam;
- if (wParam != NULL && !lstrcmpA(cws->szModule,"CList") && !lstrcmpA(cws->szSetting,"Rate"))
- setExtraIcon(wParam, cws->value.type == DBVT_DELETED ? 0 : cws->value.bVal);
+ if (hContact != NULL && !lstrcmpA(cws->szModule,"CList") && !lstrcmpA(cws->szSetting,"Rate"))
+ setExtraIcon(hContact, cws->value.type == DBVT_DELETED ? 0 : cws->value.bVal);
return 0;
}