From c625ddaf81f7481bffcd528ed3012fdc3a6bc8e1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 7 Nov 2012 14:53:21 +0000 Subject: EMPTY_EXTRA_ICON applied to all another plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@2232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/src/Flags/svc_flags.cpp | 14 +++++++------- plugins/UserInfoEx/src/Flags/svc_flags.h | 4 ++-- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/UserInfoEx/src') diff --git a/plugins/UserInfoEx/src/Flags/svc_flags.cpp b/plugins/UserInfoEx/src/Flags/svc_flags.cpp index cd682e9b1f..e1f4b700f0 100644 --- a/plugins/UserInfoEx/src/Flags/svc_flags.cpp +++ b/plugins/UserInfoEx/src/Flags/svc_flags.cpp @@ -361,7 +361,7 @@ VOID SvcFlagsEnableExtraIcons(BYTE bColumn, BOOLEAN bUpdateDB) MsgWndData::MsgWndData(HWND hwnd, HANDLE hContact) { m_hwnd = hwnd; m_hContact = hContact; - m_contryID = (int)ServiceDetectContactOriginCountry((WPARAM)m_hContact,0); + m_countryID = (int)ServiceDetectContactOriginCountry((WPARAM)m_hContact,0); FlagsIconUpdate(); } @@ -376,15 +376,15 @@ MsgWndData::FlagsIconSet() { sid.cbSize = sizeof(sid); sid.szModule = MODNAMEFLAGS; /* ensure status icon is registered */ - if ( m_contryID!=0xFFFF || gFlagsOpts.bUseUnknownFlag) { + if ( m_countryID!=0xFFFF || gFlagsOpts.bUseUnknownFlag) { /* copy icon as status icon API will call DestroyIcon() on it */ - hIcon = LoadFlagIcon(m_contryID); + hIcon = LoadFlagIcon(m_countryID); sid.hIcon = (hIcon!=NULL)?CopyIcon(hIcon):NULL; Skin_ReleaseIcon(hIcon); /* does NULL check */ hIcon = sid.hIcon; - sid.dwId = (DWORD)m_contryID; + sid.dwId = (DWORD)m_countryID; sid.hIconDisabled = sid.hIcon/*NULL*/; - sid.szTooltip = Translate((char*)CallService(MS_UTILS_GETCOUNTRYBYNUMBER,m_contryID,0)); + sid.szTooltip = Translate((char*)CallService(MS_UTILS_GETCOUNTRYBYNUMBER,m_countryID,0)); sid.flags = 0; if(CallService(MS_MSG_MODIFYICON,(WPARAM)m_hContact,(LPARAM)&sid) !=0) /* not yet registered? */ CallService(MS_MSG_ADDICON,0,(LPARAM)&sid); @@ -394,7 +394,7 @@ MsgWndData::FlagsIconSet() { sid.hIconDisabled = NULL; for(int i=0;i