summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-25 14:58:56 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-25 14:58:56 +0300
commit0f9e1002ec21154bc476fbfeab0d21f796515823 (patch)
tree678f870457343d977afe06b154cfa5323b75e8da /plugins/TipperYM/src
parentee7a91629442ba40e876e19e4cdd7af173e8e840 (diff)
DbEvent_GetTextW: useless second parameter removed
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r--plugins/TipperYM/src/subst.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TipperYM/src/subst.cpp b/plugins/TipperYM/src/subst.cpp
index a7aafa717d..34ab44cceb 100644
--- a/plugins/TipperYM/src/subst.cpp
+++ b/plugins/TipperYM/src/subst.cpp
@@ -173,7 +173,7 @@ wchar_t* GetLastMessageText(MCONTACT hContact, bool received)
if (dbei.cbBlob == 0 || dbei.pBlob == nullptr)
return nullptr;
- wchar_t *buff = DbEvent_GetTextW(&dbei, CP_ACP);
+ wchar_t *buff = DbEvent_GetTextW(&dbei);
wchar_t *swzMsg = mir_wstrdup(buff);
mir_free(buff);