diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-07 00:25:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-07 00:25:57 +0300 |
commit | 7da54b50a53f69584778d93ebd817cbb1c990846 (patch) | |
tree | 8d6a0e0a87132555ca16e97734accf67b344a22c /plugins/SmileyAdd/src/richcall.cpp | |
parent | 97d55ca3bede2281dc5b615fb9755195963aa83b (diff) |
minor fix
Diffstat (limited to 'plugins/SmileyAdd/src/richcall.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/richcall.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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 <http://www.gnu.org/licenses/>. #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)
|