diff options
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 3 | ||||
| -rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 2 | ||||
| -rw-r--r-- | plugins/TabSRMM/src/infopanel.cpp | 3 | 
3 files changed, 5 insertions, 3 deletions
| diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index 68078159fd..93fbca70d0 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -156,6 +156,9 @@ void CContactCache::updateMeta()  		m_hSub = db_mc_getSrmmSub(cc->contactID);
  		m_szMetaProto = GetContactProto(m_hSub);
  		m_wMetaStatus = (WORD)db_get_w(m_hSub, m_szMetaProto, "Status", ID_STATUS_OFFLINE);
 +		PROTOACCOUNT *pa = ProtoGetAccount(m_szMetaProto);
 +		if (pa)
 +			m_szAccount = pa->tszAccountName;
  		if (hOldSub != m_hSub) {
  			updateStatus();
 diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index eeef4a4f38..c909370dbb 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -497,7 +497,7 @@ int CGlobals::MetaContactEvent(WPARAM hContact, LPARAM lParam)  		if (c) {
  			c->updateMeta();
  			if (c->getHwnd()) {
 -				::PostMessage(c->getHwnd(), DM_UPDATETITLE, 0, 0);
 +				::PostMessage(c->getHwnd(), DM_UPDATETITLE, 0, 1);
  				::PostMessage(c->getHwnd(), DM_UPDATEPICLAYOUT, 0, 0);
  			}
  		}
 diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index c34d587500..06878b606e 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -131,8 +131,7 @@ void CInfoPanel::saveHeight(bool fFlush)  				}
  			}
  		}
 -		else
 -			db_set_dw(m_dat->hContact, SRMSGMOD_T, "panelheight", MAKELONG(m_height, 0xffff));
 +		else db_set_dw(m_dat->hContact, SRMSGMOD_T, "panelheight", MAKELONG(m_height, 0xffff));
  	}
  }
 | 
