diff options
Diffstat (limited to 'plugins/NewStory/src')
| -rw-r--r-- | plugins/NewStory/src/history_control.cpp | 4 |
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; |
