summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-02-14 19:29:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-02-14 19:29:36 +0300
commit3fce8a883ba81ac68117c6f6cb5e9b9fd8465bfa (patch)
tree67a11a7e419f3382b8f57f6c00da43c1b5346ab6
parenta2e28bc1717d59ab8444fb5a1cf2872bcc59e8d8 (diff)
fixes problem with StdMsg, described in #1738
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index 8bfbfb1d31..74433f6cde 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -1071,9 +1071,9 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
ProcessFileDrop((HDROP)hDrop, m_hContact);
CloseClipboard();
}
+ return 0;
}
- else m_message.SendMsg(EM_PASTESPECIAL, CF_UNICODETEXT, 0);
- return 0;
+ break;
case WM_KEYDOWN:
bool isShift = (GetKeyState(VK_SHIFT) & 0x8000) != 0;