From 0f9e1002ec21154bc476fbfeab0d21f796515823 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Dec 2023 14:58:56 +0300 Subject: DbEvent_GetTextW: useless second parameter removed --- plugins/wbOSD/src/events.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/wbOSD') diff --git a/plugins/wbOSD/src/events.cpp b/plugins/wbOSD/src/events.cpp index f456b4aab1..a408f69655 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, 0); + c1 = DbEvent_GetTextW(&dbe); if (i2 == 1) c2 = mir_wstrdup(Clist_GetContactDisplayName(wParam)); else if (i2 == 2) - c2 = DbEvent_GetTextW(&dbe, 0); + c2 = DbEvent_GetTextW(&dbe); wchar_t buffer[512]; mir_snwprintf(buffer, buf, c1, c2); -- cgit v1.2.3