summaryrefslogtreecommitdiff
path: root/libs/mTextControl/src/textcontrol.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-08-16 18:19:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-08-16 18:19:00 +0300
commitcbae3129961119ea4415ec2643bb62f04be47dcf (patch)
treee96bdbbe0247f814898b13d494d8a1d5351ce4e0 /libs/mTextControl/src/textcontrol.cpp
parentd11b65ef96075a0da05d88913c6bcea619a4c2f9 (diff)
fixes #2538 (NewStory: add stickers support to message log and history)
Diffstat (limited to 'libs/mTextControl/src/textcontrol.cpp')
-rw-r--r--libs/mTextControl/src/textcontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/mTextControl/src/textcontrol.cpp b/libs/mTextControl/src/textcontrol.cpp
index c62148269b..d58fd0e1c1 100644
--- a/libs/mTextControl/src/textcontrol.cpp
+++ b/libs/mTextControl/src/textcontrol.cpp
@@ -76,7 +76,7 @@ LRESULT CALLBACK MTextControlWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
int textLength = GetWindowTextLength(hwnd);
data->text = new wchar_t[textLength + 1];
GetWindowText(hwnd, data->text, textLength + 1);
- data->mtext = MTextCreateW(data->htu, data->text);
+ data->mtext = MTextCreateW(data->htu, 0, data->text);
MTextSetParent(data->mtext, hwnd);