diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-27 20:10:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-27 20:10:17 +0000 |
commit | 24513a8d4d08a5c0e145e82f370e9104bc1f9a66 (patch) | |
tree | e853c28fe8597a67cd5d0d9e80dd0854c9e47d8a | |
parent | 9bad6cb2e2eec6489554baaf3662865e1c9ad073 (diff) |
fix for regress in rev. 3891
git-svn-id: http://svn.miranda-ng.org/main/trunk@4220 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/SmileyAdd/src/richcall.cpp | 4 |
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);
}
|