summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-27 20:10:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-27 20:10:17 +0000
commit24513a8d4d08a5c0e145e82f370e9104bc1f9a66 (patch)
treee853c28fe8597a67cd5d0d9e80dd0854c9e47d8a /plugins/SmileyAdd/src
parent9bad6cb2e2eec6489554baaf3662865e1c9ad073 (diff)
fix for regress in rev. 3891
git-svn-id: http://svn.miranda-ng.org/main/trunk@4220 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r--plugins/SmileyAdd/src/richcall.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}