summaryrefslogtreecommitdiff
path: root/plugins/Rate/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Rate/src/main.cpp')
-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;
}