summaryrefslogtreecommitdiff
path: root/plugins/Popup/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src')
-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 ee37144fe8..aad7891cbb 100644
--- a/plugins/Popup/src/popup_wnd2.cpp
+++ b/plugins/Popup/src/popup_wnd2.cpp
@@ -854,7 +854,7 @@ LRESULT CALLBACK ReplyEditWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM
case VK_RETURN:
TCHAR msg[2048];
GetWindowText(hwnd, msg, SIZEOF(msg));
- if (wcslen(msg) == 0) {
+ if (mir_wstrlen(msg) == 0) {
DestroyWindow(hwnd);
return 0;
}