diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-28 16:50:17 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-28 16:50:17 +0000 |
commit | ca2afc50a432cefe892c6877710642bce6bd57c9 (patch) | |
tree | b4ff96e40b102b20668d591464e92de3d4778bd9 /plugins/SecureIM/src/svcs_clist.cpp | |
parent | dcc561ccf83c7468bf512ab94db0c34bfdb49dfc (diff) |
Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@14429 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/svcs_clist.cpp')
-rw-r--r-- | plugins/SecureIM/src/svcs_clist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/svcs_clist.cpp b/plugins/SecureIM/src/svcs_clist.cpp index 7a7a60c2b4..5d1a565565 100644 --- a/plugins/SecureIM/src/svcs_clist.cpp +++ b/plugins/SecureIM/src/svcs_clist.cpp @@ -102,7 +102,7 @@ int __cdecl onRebuildContactMenu(WPARAM hContact, LPARAM lParam) // set status menu
if (bSCM && !bMC && (!isSecured || ptr->mode == MODE_PGP || ptr->mode == MODE_GPG)) {
- Menu_ModifyItem(g_hMenu[2], _A2T(sim312[ptr->status]), g_hICO[ICO_ST_DIS + ptr->status]);
+ Menu_ModifyItem(g_hMenu[2], sim312[ptr->status], g_hICO[ICO_ST_DIS + ptr->status]);
for (int i = 0; i <= (ptr->mode == MODE_RSAAES ? 1 : 2); i++)
Menu_ModifyItem(g_hMenu[3 + i], NULL, (i == ptr->status) ? g_hICO[ICO_ST_DIS + ptr->status] : NULL);
@@ -121,7 +121,7 @@ int __cdecl onRebuildContactMenu(WPARAM hContact, LPARAM lParam) if (isSecureProto && !isChat && isMiranda) {
// set mode menu
if (bMCM && !bMC && (!isSecured || ptr->mode == MODE_PGP || ptr->mode == MODE_GPG)) {
- Menu_ModifyItem(g_hMenu[10], _A2T(sim311[ptr->mode]), g_hICO[ICO_OV_NAT + ptr->mode]);
+ Menu_ModifyItem(g_hMenu[10], sim311[ptr->mode], g_hICO[ICO_OV_NAT + ptr->mode]);
for (int i = 0; i < MODE_CNT; i++) {
if (i == MODE_PGP && ptr->mode != MODE_PGP && !bPGP) continue;
|