diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-24 13:18:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-24 13:18:53 +0000 |
commit | 862116c0d40a7304c458f68c4c725e8a95960588 (patch) | |
tree | 502d5281f70842bbc8ada15d5a03673106b3f61f /protocols/Yahoo | |
parent | 04ea225a48f0fe836361882cb0f78e7b99ee582f (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 'protocols/Yahoo')
-rw-r--r-- | protocols/Yahoo/src/util.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Yahoo/src/util.cpp b/protocols/Yahoo/src/util.cpp index 8e9aca7833..e806efb274 100644 --- a/protocols/Yahoo/src/util.cpp +++ b/protocols/Yahoo/src/util.cpp @@ -152,18 +152,18 @@ void CYahooProto::ShowError(const TCHAR *title, const TCHAR *buff) ShowNotification(title, buff, NIIF_ERROR);
}
-int __cdecl CYahooProto::OnSettingChanged(WPARAM wParam, LPARAM lParam)
+int __cdecl CYahooProto::OnSettingChanged(WPARAM hContact, LPARAM lParam)
{
- if (!wParam || !m_bLoggedIn)
+ if (!hContact || !m_bLoggedIn)
return 0;
- DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*) lParam;
+ DBCONTACTWRITESETTING *cws = (DBCONTACTWRITESETTING*)lParam;
if ( !strcmp(cws->szSetting, "ApparentMode")) {
debugLogA("DB Setting changed. YAHOO user's visible setting changed.");
DBVARIANT dbv;
- if (!getString(wParam, YAHOO_LOGINID, &dbv)) {
- int iAdd = (ID_STATUS_OFFLINE == getWord(wParam, "ApparentMode", 0));
+ if (!getString(hContact, YAHOO_LOGINID, &dbv)) {
+ int iAdd = (ID_STATUS_OFFLINE == getWord(hContact, "ApparentMode", 0));
stealth(dbv.pszVal, iAdd);
db_free(&dbv);
}
|