summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/HistoryWindow.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-09-25 13:41:55 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-09-25 13:41:55 +0300
commitc6f59d75142b7568dd89f5cff691b0b58030aafd (patch)
tree6fd83d9e6a71bbf7a750a1983922121265acadd7 /plugins/BasicHistory/src/HistoryWindow.cpp
parent53669871fc860856c80c2d79cb6b21d52ea25440 (diff)
SmileyAdd: fix for the obsolete quirks in SmaileyAdd API
Diffstat (limited to 'plugins/BasicHistory/src/HistoryWindow.cpp')
-rw-r--r--plugins/BasicHistory/src/HistoryWindow.cpp3
1 files changed, 1 insertions, 2 deletions
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;