summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-07 14:53:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-07 14:53:21 +0000
commitc625ddaf81f7481bffcd528ed3012fdc3a6bc8e1 (patch)
tree9a2f26824142e0bd53b5332c2a00d86137370a51 /plugins/UserInfoEx/src
parentf3bd86cba781bb179169419de8101ab32ba0760e (diff)
EMPTY_EXTRA_ICON applied to all another plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@2232 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src')
-rw-r--r--plugins/UserInfoEx/src/Flags/svc_flags.cpp14
-rw-r--r--plugins/UserInfoEx/src/Flags/svc_flags.h4
2 files changed, 9 insertions, 9 deletions
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<nCountriesCount;++i) {
sid.dwId = (DWORD)countries[i].id;
- sid.flags = (m_contryID==countries[i].id && hIcon!=NULL)? 0:MBF_HIDDEN;
+ sid.flags = (m_countryID==countries[i].id && hIcon!=NULL)? 0:MBF_HIDDEN;
CallService(MS_MSG_MODIFYICON,(WPARAM)m_hContact,(LPARAM)&sid);
}
}
@@ -404,7 +404,7 @@ MsgWndData::FlagsIconUnset() {
StatusIconData sid = {0};
sid.cbSize = sizeof(sid);
sid.szModule = MODNAMEFLAGS;
- sid.dwId = (DWORD)m_contryID;
+ sid.dwId = (DWORD)m_countryID;
sid.flags = MBF_HIDDEN;
CallService(MS_MSG_MODIFYICON,(WPARAM)m_hContact,(LPARAM)&sid);
/* can't call MS_MSG_REMOVEICON here as the icon might be
diff --git a/plugins/UserInfoEx/src/Flags/svc_flags.h b/plugins/UserInfoEx/src/Flags/svc_flags.h
index 3aaa7f884f..fe0da2b933 100644
--- a/plugins/UserInfoEx/src/Flags/svc_flags.h
+++ b/plugins/UserInfoEx/src/Flags/svc_flags.h
@@ -51,7 +51,7 @@ class MsgWndData {
public:
HANDLE m_hContact;
HWND m_hwnd;
- int m_contryID;
+ int m_countryID;
MsgWndData(HWND hwnd, HANDLE hContact);
~MsgWndData();
@@ -62,7 +62,7 @@ class MsgWndData {
gFlagsOpts.bShowStatusIconFlag ? FlagsIconSet():FlagsIconUnset();
};
void ContryIDchange(int ID) {
- m_contryID = ID; FlagsIconUpdate();
+ m_countryID = ID; FlagsIconUpdate();
};
};