From e3f92ff9b8922e06a717a84b76c4e43cbb165f28 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Apr 2020 19:59:38 +0300 Subject: mtextcontrol became an usual library --- plugins/NewStory/src/history_control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NewStory/src') diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 315c9b39bd..2d31fd9023 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -786,7 +786,7 @@ static int LayoutItem(HWND hwnd, HistoryArray *items, int index) HFONT hfnt = (HFONT)SelectObject(hdc, fonts[fontid].hfnt); if (!item->data) { TCHAR *buf = TplFormatString(tpl, item->hContact, item); - item->data = MTextCreateT(htuLog, buf); + item->data = MTextCreateW(htuLog, buf); free(buf); } @@ -862,7 +862,7 @@ static int PaintItem(HDC hdc, HistoryArray *items, int index, int top, int width if (!item->data) { TCHAR *buf = TplFormatString(tpl, item->hContact, item); - item->data = MTextCreateT(htuLog, buf); + item->data = MTextCreateW(htuLog, buf); free(buf); if (!item->data) return 0; -- cgit v1.2.3