diff options
Diffstat (limited to 'plugins/NewStory/src/history_dlg.cpp')
-rw-r--r-- | plugins/NewStory/src/history_dlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_dlg.cpp b/plugins/NewStory/src/history_dlg.cpp index c012b9651f..e4f966e852 100644 --- a/plugins/NewStory/src/history_dlg.cpp +++ b/plugins/NewStory/src/history_dlg.cpp @@ -174,7 +174,7 @@ class CHistoryDlg : public CDlgBase if (!dbei) continue; - ptrW pwszText(DbEvent_GetTextW(&dbei, CP_UTF8)); + ptrW pwszText(DbEvent_GetTextW(&dbei)); if (!mir_wstrlen(pwszText)) continue; @@ -215,7 +215,7 @@ class CHistoryDlg : public CDlgBase flags += "r"; pRoot2.push_back(JSONNode("flags", flags)); - ptrW msg(DbEvent_GetTextW(&dbei, CP_ACP)); + ptrW msg(DbEvent_GetTextW(&dbei)); if (msg) pRoot2.push_back(JSONNode("body", T2Utf(msg).get())); |