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 /plugins/FloatingContacts | |
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 'plugins/FloatingContacts')
-rw-r--r-- | plugins/FloatingContacts/src/main.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index 416aa4857f..ff267bbc3c 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -226,7 +226,7 @@ static int OnContactSettingChanged(WPARAM hContact, LPARAM lParam) ThumbInfo *pThumb = thumbList.FindThumbByContact(hContact);
int idStatus = ID_STATUS_OFFLINE;
BOOL bRefresh = TRUE;
- DBCONTACTWRITESETTING* pdbcws = (DBCONTACTWRITESETTING*)lParam;
+ DBCONTACTWRITESETTING *pdbcws = (DBCONTACTWRITESETTING*)lParam;
if (hContact == NULL) {
if (( 0 == _stricmp( pdbcws->szModule, "CLC" )) || ( 0 == _stricmp( pdbcws->szModule, MODULE )) ) {
@@ -242,25 +242,15 @@ static int OnContactSettingChanged(WPARAM hContact, LPARAM lParam) // Only on these 2 events we need to refresh
if (0 == _stricmp(pdbcws->szSetting, "Status"))
- {
idStatus = pdbcws->value.wVal;
- }
else if (0 == _stricmp(pdbcws->szSetting, "Nick"))
- {
idStatus = GetContactStatus(hContact);
- }
else if (0 == _stricmp(pdbcws->szSetting, "MyHandle"))
- {
idStatus = GetContactStatus(hContact);
- }
else if (fcOpt.bShowIdle && 0 == _stricmp( pdbcws->szSetting, "IdleTS"))
- {
idStatus = GetContactStatus(hContact);
- }
else
- {
bRefresh = FALSE;
- }
// Detach call
if (bRefresh)
|