summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/popup_wnd2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/popup_wnd2.cpp')
-rw-r--r--plugins/Popup/src/popup_wnd2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp
index cea3480ceb..3763451ef6 100644
--- a/plugins/Popup/src/popup_wnd2.cpp
+++ b/plugins/Popup/src/popup_wnd2.cpp
@@ -908,7 +908,7 @@ LRESULT CALLBACK ReplyEditWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM
TCHAR msg[2048];
LPTSTR bufW = NULL;
- SendMessage(hwnd, WM_GETTEXT, SIZEOF(msg), (LPARAM)msg);
+ GetWindowText(hwnd, msg, SIZEOF(msg));
if (wcslen(msg) == 0){
DestroyWindow(hwnd);