summaryrefslogtreecommitdiff
path: root/plugins/wbOSD/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-13 14:23:13 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-13 14:23:13 +0300
commitc7d065645853b2e614e8557fa01057efaf5e6517 (patch)
tree6b5233ed788e31014e868c007ccb469ca4d64e60 /plugins/wbOSD/src
parent831bffd63776f4ffe82245cadf2b95c48cd44d38 (diff)
DbEvent_GetTextA: unused function removed
Diffstat (limited to 'plugins/wbOSD/src')
-rw-r--r--plugins/wbOSD/src/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wbOSD/src/events.cpp b/plugins/wbOSD/src/events.cpp
index a408f69655..9083460d92 100644
--- a/plugins/wbOSD/src/events.cpp
+++ b/plugins/wbOSD/src/events.cpp
@@ -181,12 +181,12 @@ int HookedNewEvent(WPARAM wParam, LPARAM hDBEvent)
if (i1 == 1)
c1 = mir_wstrdup(Clist_GetContactDisplayName(wParam));
else if (i1 == 2)
- c1 = DbEvent_GetTextW(&dbe);
+ c1 = dbe.getText();
if (i2 == 1)
c2 = mir_wstrdup(Clist_GetContactDisplayName(wParam));
else if (i2 == 2)
- c2 = DbEvent_GetTextW(&dbe);
+ c2 = dbe.getText();
wchar_t buffer[512];
mir_snwprintf(buffer, buf, c1, c2);