From 24513a8d4d08a5c0e145e82f370e9104bc1f9a66 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Mar 2013 20:10:17 +0000 Subject: fix for regress in rev. 3891 git-svn-id: http://svn.miranda-ng.org/main/trunk@4220 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/src/richcall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/SmileyAdd/src/richcall.cpp b/plugins/SmileyAdd/src/richcall.cpp index afee5fca8f..582a1122ae 100644 --- a/plugins/SmileyAdd/src/richcall.cpp +++ b/plugins/SmileyAdd/src/richcall.cpp @@ -435,8 +435,8 @@ void SetRichOwnerCallback(HWND hwnd, HWND hwndInput, HWND hwndLog) rdto->hwndLog = hwndLog; g_RichEditOwnerList.insert(rdto); - if (hwndInput) - SendMessage(hwndInput, EM_SETUNDOLIMIT, 0, 0); + if (hwndLog) + SendMessage(hwndLog, EM_SETUNDOLIMIT, 0, 0); mir_subclassWindow(hwnd, RichEditOwnerSubclass); } -- cgit v1.2.3