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/QuickReplies/src/events.cpp | 2 +- plugins/QuickReplies/src/options.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/QuickReplies/src') diff --git a/plugins/QuickReplies/src/events.cpp b/plugins/QuickReplies/src/events.cpp index 0c575930dd..f64b329dc5 100644 --- a/plugins/QuickReplies/src/events.cpp +++ b/plugins/QuickReplies/src/events.cpp @@ -76,7 +76,7 @@ int OnButtonPressed(WPARAM wParam, LPARAM lParam) int count = 0; HMENU hMenu = NULL; char buttonName[32]; - CMString replies; + CMStringW replies; LIST replyList(1); CustomButtonClickData *cbcd = (CustomButtonClickData *)lParam; diff --git a/plugins/QuickReplies/src/options.cpp b/plugins/QuickReplies/src/options.cpp index fb52965cb2..3356a012b0 100644 --- a/plugins/QuickReplies/src/options.cpp +++ b/plugins/QuickReplies/src/options.cpp @@ -63,7 +63,7 @@ INT_PTR CALLBACK DlgProcOptionsPage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR { char key[64]; int count = 0; - CMString replies; + CMStringW replies; TranslateDialogDefault(hwndDlg); variables_skin_helpbutton(hwndDlg, IDC_VARIABLES); @@ -131,7 +131,7 @@ INT_PTR CALLBACK DlgProcOptionsPage(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR GetDlgItemText(hwndDlg, IDC_REPLIES, tszReplies, length + 1); tszReplies[length] = '\0'; { - CMString replies = tszReplies; + CMStringW replies = tszReplies; if (replies.Right(2) != L"\r\n") replies.Append(L"\r\n"); -- cgit v1.2.3