From c6f59d75142b7568dd89f5cff691b0b58030aafd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Sep 2023 13:41:55 +0300 Subject: SmileyAdd: fix for the obsolete quirks in SmaileyAdd API --- plugins/BasicHistory/src/HistoryWindow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/BasicHistory/src/HistoryWindow.cpp') diff --git a/plugins/BasicHistory/src/HistoryWindow.cpp b/plugins/BasicHistory/src/HistoryWindow.cpp index 813fc57860..ec120dadc9 100644 --- a/plugins/BasicHistory/src/HistoryWindow.cpp +++ b/plugins/BasicHistory/src/HistoryWindow.cpp @@ -1189,8 +1189,7 @@ void HistoryWindow::ReplaceIcons(HWND hwndDlg, int selStart, BOOL isSent) sel.cpMin = selStart; sel.cpMax = -1; - SMADD_RICHEDIT3 smadd = { 0 }; - smadd.cbSize = sizeof(smadd); + SMADD_RICHEDIT smadd = { 0 }; smadd.hwndRichEditControl = hwndDlg; smadd.Protocolname = Proto_GetBaseAccountName(m_hContact); smadd.hContact = m_hContact; -- cgit v1.2.3