diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-05 10:15:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-05 10:15:11 +0000 |
commit | d6a9a8557466447f8082c1dc4f151eb81ecc6ac0 (patch) | |
tree | 37fb7c9d67142b207268e735a79dcc8d66d3557e /plugins | |
parent | 4c6a2d621787f09537487b1ba4df9ac3123fca63 (diff) |
we don't need undo's in read-only richviews
git-svn-id: http://svn.miranda-ng.org/main/trunk@3891 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/SmileyAdd/src/richcall.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/SmileyAdd/src/richcall.cpp b/plugins/SmileyAdd/src/richcall.cpp index 23c1383f9f..68898b4abe 100644 --- a/plugins/SmileyAdd/src/richcall.cpp +++ b/plugins/SmileyAdd/src/richcall.cpp @@ -468,6 +468,9 @@ void SetRichOwnerCallback(HWND hwnd, HWND hwndInput, HWND hwndLog) rdto->hwndLog = hwndLog;
g_RichEditOwnerList.insert(rdto);
+ if (hwndInput)
+ SendMessage(hwndInput, EM_SETUNDOLIMIT, 0, 0);
+
mir_subclassWindow(hwnd, RichEditOwnerSubclass);
}
else {
|