From 428bf0cbd77813a43094cb5c984436deff251936 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jul 2016 12:36:34 +0000 Subject: no more TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MenuItemEx/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/MenuItemEx/src/main.cpp') diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index a71bac9998..73e72e3d88 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -331,7 +331,7 @@ BOOL MirVerExists(MCONTACT hContact) if (!szProto) return 0; - ptrW msg(db_get_tsa(hContact, szProto, "MirVer")); + ptrW msg(db_get_wsa(hContact, szProto, "MirVer")); return mir_wstrlen(msg) != 0; } @@ -354,7 +354,7 @@ LPTSTR getMirVer(MCONTACT hContact) LPSTR szProto = GetContactProto(hContact); if (!szProto) return NULL; - LPTSTR msg = db_get_tsa(hContact, szProto, "MirVer"); + LPTSTR msg = db_get_wsa(hContact, szProto, "MirVer"); if (msg) { if (msg[0] != 0) return msg; @@ -624,11 +624,11 @@ INT_PTR onCopyStatusMsg(WPARAM wparam, LPARAM lparam) else strncpy(par, statusMsg[i].name, _countof(par) - 1); - LPTSTR msg = db_get_tsa(hContact, (statusMsg[i].module) ? statusMsg[i].module : module, par); + LPTSTR msg = db_get_wsa(hContact, (statusMsg[i].module) ? statusMsg[i].module : module, par); if (msg) { if (wcslen(msg)) { if (flags & VF_SMNAME) { - mir_wstrncat(buffer, TranslateTS(statusMsg[i].fullName), (_countof(buffer) - wcslen(buffer) - 1)); + mir_wstrncat(buffer, TranslateW(statusMsg[i].fullName), (_countof(buffer) - wcslen(buffer) - 1)); mir_wstrncat(buffer, L": ", (_countof(buffer) - wcslen(buffer) - 1)); } mir_wstrncat(buffer, msg, (_countof(buffer) - wcslen(buffer) - 1)); -- cgit v1.2.3