summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-04-03 19:59:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-04-03 19:59:45 +0300
commite3f92ff9b8922e06a717a84b76c4e43cbb165f28 (patch)
tree13cf88e15b788575d7b47896b1995cd7b70d711d /plugins/NewStory/src
parent8218936b7712de444a49656d8a50832cea5adc84 (diff)
mtextcontrol became an usual library
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_control.cpp4
1 files changed, 2 insertions, 2 deletions
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;