summaryrefslogtreecommitdiff
path: root/plugins/AuthState/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
commit6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch)
tree2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/AuthState/src
parenta61c8728b379057fe7f0a0d86fe0b037598229dd (diff)
less TCHARs:
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AuthState/src')
-rw-r--r--plugins/AuthState/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AuthState/src/main.cpp b/plugins/AuthState/src/main.cpp
index 08e9f96cb1..e5eef4db77 100644
--- a/plugins/AuthState/src/main.cpp
+++ b/plugins/AuthState/src/main.cpp
@@ -143,9 +143,9 @@ int onPrebuildContactMenu(WPARAM hContact, LPARAM)
return 0;
if (db_get_b((MCONTACT)hContact, "AuthState", "ShowIcons", 1))
- Menu_ModifyItem(hUserMenu, LPGENT("Disable AuthState icons"));
+ Menu_ModifyItem(hUserMenu, LPGENW("Disable AuthState icons"));
else
- Menu_ModifyItem(hUserMenu, LPGENT("Enable AuthState icons"));
+ Menu_ModifyItem(hUserMenu, LPGENW("Enable AuthState icons"));
Menu_ShowItem(hUserMenu, db_get_b((MCONTACT)hContact, proto, "Auth", 0) || db_get_b((MCONTACT)hContact, proto, "Grant", 0) || !db_get_dw((MCONTACT)hContact, proto, "ServerId", 0));
return 0;
@@ -181,7 +181,7 @@ extern "C" int __declspec(dllexport) Load(void)
SET_UID(mi, 0xc5a784ea, 0x8b07, 0x4b95, 0xa2, 0xb2, 0x84, 0x9d, 0x87, 0x43, 0x7e, 0xda);
mi.position = -1999901005;
mi.flags = CMIF_TCHAR;
- mi.name.t = LPGENT("Enable AuthState icons");
+ mi.name.w = LPGENW("Enable AuthState icons");
mi.pszService = "AuthState/MenuItem";
hUserMenu = Menu_AddContactMenuItem(&mi);