diff options
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/src/Flags/svc_flags.cpp | 10 | ||||
-rw-r--r-- | plugins/UserInfoEx/src/svc_contactinfo.cpp | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/UserInfoEx/src/Flags/svc_flags.cpp b/plugins/UserInfoEx/src/Flags/svc_flags.cpp index bf48a674eb..75da95834c 100644 --- a/plugins/UserInfoEx/src/Flags/svc_flags.cpp +++ b/plugins/UserInfoEx/src/Flags/svc_flags.cpp @@ -163,9 +163,9 @@ static int OnStatusIconsChanged(WPARAM wParam, LPARAM lParam) * misc functions
***********************************************************************************************************/
-static int OnContactSettingChanged(WPARAM wParam, LPARAM lParam)
+static int OnContactSettingChanged(WPARAM hContact, LPARAM lParam)
{
- if ((HANDLE)wParam == NULL)
+ if (hContact == NULL)
return 0;
/* user details update */
@@ -175,12 +175,12 @@ static int OnContactSettingChanged(WPARAM wParam, LPARAM lParam) !lstrcmpA(dbcws->szSetting, SET_CONTACT_COMPANY_COUNTRY))
{
/* Extra Image */
- SetExtraImage(wParam);
+ SetExtraImage(hContact);
/* Status Icon */
- int i = gMsgWndList.getIndex((MsgWndData*)&wParam);
+ int i = gMsgWndList.getIndex((MsgWndData*)&hContact);
if (i != -1) {
- gMsgWndList[i]->ContryIDchange((int)ServiceDetectContactOriginCountry(wParam, 0));
+ gMsgWndList[i]->ContryIDchange((int)ServiceDetectContactOriginCountry(hContact, 0));
gMsgWndList[i]->FlagsIconSet();
}
}
diff --git a/plugins/UserInfoEx/src/svc_contactinfo.cpp b/plugins/UserInfoEx/src/svc_contactinfo.cpp index ed30f18c8d..92ccdf4050 100644 --- a/plugins/UserInfoEx/src/svc_contactinfo.cpp +++ b/plugins/UserInfoEx/src/svc_contactinfo.cpp @@ -717,9 +717,9 @@ static INT_PTR GetContactSettingStrExService(WPARAM wParam, LPARAM lParam) * @return 0
**/
-static int OnSettingChanged(WPARAM wParam, LPARAM lParam)
+static int OnSettingChanged(WPARAM hContact, LPARAM lParam)
{
- if ((HANDLE)wParam == NULL) {
+ if (hContact == NULL) {
DBCONTACTWRITESETTING *pdbcws = (DBCONTACTWRITESETTING*) lParam;
if (!mir_strcmp(pdbcws->szModule, "Contact") && !mir_strcmp(pdbcws->szSetting, "NameOrder"))
memcpy(gNameOrder, pdbcws->value.pbVal, pdbcws->value.cpbVal);
|