From 7da54b50a53f69584778d93ebd817cbb1c990846 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 7 Dec 2016 00:25:57 +0300 Subject: minor fix --- plugins/SmileyAdd/src/richcall.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins') diff --git a/plugins/SmileyAdd/src/richcall.cpp b/plugins/SmileyAdd/src/richcall.cpp index 92a556a81c..d19d0dbf59 100644 --- a/plugins/SmileyAdd/src/richcall.cpp +++ b/plugins/SmileyAdd/src/richcall.cpp @@ -18,7 +18,7 @@ along with this program. If not, see . #include "stdafx.h" -struct RichEditData +struct RichEditData : public MZeroedObject { HWND hwnd; MCONTACT hContact; @@ -306,9 +306,7 @@ bool SetRichCallback(HWND hwnd, MCONTACT hContact, bool subany, bool subnew) rdt->hwnd = hwnd; rdt->hContact = hContact; rdt->inputarea = (GetWindowLongPtr(hwnd, GWL_STYLE) & ES_READONLY) == 0; - rdt->dontReplace = false; rdt->tipActive = -1; - rdt->hToolTip = NULL; g_RichEditList.insert(rdt); if (subnew) -- cgit v1.2.3