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/Scriver/src/msgwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Scriver/src/msgwindow.cpp') diff --git a/plugins/Scriver/src/msgwindow.cpp b/plugins/Scriver/src/msgwindow.cpp index 8744cb1b64..0443ba8534 100644 --- a/plugins/Scriver/src/msgwindow.cpp +++ b/plugins/Scriver/src/msgwindow.cpp @@ -40,12 +40,12 @@ wchar_t* GetWindowTitle(MCONTACT hContact, const char *szProto) ptrW tmplt; const wchar_t* tokens[4] = { 0 }; - CMString tszTemplate, tszStatus, tszTitle; + CMStringW tszTemplate, tszStatus, tszTitle; if (hContact && szProto) { tokens[0] = pcli->pfnGetContactDisplayName(hContact, 0); tokens[1] = pcli->pfnGetStatusModeDescription(db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE), 0); - tszStatus = ptrW(db_get_tsa(hContact, "CList", "StatusMsg")); + tszStatus = ptrW(db_get_wsa(hContact, "CList", "StatusMsg")); tszStatus.Replace(L"\r\n", L" "); tokens[2] = tszStatus; @@ -56,7 +56,7 @@ wchar_t* GetWindowTitle(MCONTACT hContact, const char *szProto) tokens[3] = mir_wstrdup(proto->tszAccountName); } - tmplt = db_get_tsa(NULL, SRMMMOD, SRMSGSET_WINDOWTITLE); + tmplt = db_get_wsa(NULL, SRMMMOD, SRMSGSET_WINDOWTITLE); if (tmplt != NULL) tszTemplate = tmplt; else { -- cgit v1.2.3