diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-25 13:41:55 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-25 13:41:55 +0300 |
commit | c6f59d75142b7568dd89f5cff691b0b58030aafd (patch) | |
tree | 6fd83d9e6a71bbf7a750a1983922121265acadd7 /plugins/Scriver/src | |
parent | 53669871fc860856c80c2d79cb6b21d52ea25440 (diff) |
SmileyAdd: fix for the obsolete quirks in SmaileyAdd API
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/msglog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp index d747909527..e61802a471 100644 --- a/plugins/Scriver/src/msglog.cpp +++ b/plugins/Scriver/src/msglog.cpp @@ -630,8 +630,7 @@ public: }
if (g_dat.smileyAddInstalled) {
- SMADD_RICHEDIT3 smre;
- smre.cbSize = sizeof(SMADD_RICHEDIT3);
+ SMADD_RICHEDIT smre;
smre.hwndRichEditControl = m_rtf.GetHwnd();
MCONTACT hContact = db_mc_getSrmmSub(m_pDlg.m_hContact);
@@ -714,7 +713,7 @@ public: if (newsel.cpMin < 0)
newsel.cpMin = 0;
- SMADD_RICHEDIT3 sm = { sizeof(sm) };
+ SMADD_RICHEDIT sm = {};
sm.hwndRichEditControl = m_rtf.GetHwnd();
sm.Protocolname = si->pszModule;
sm.rangeToReplace = bRedraw ? nullptr : &newsel;
|