diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-24 20:55:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-24 20:55:59 +0300 |
commit | 5e8c98db452a253d3ecc94f54e12f7afb43f0087 (patch) | |
tree | f0284fbd8f6c78cb4d34226d7fbd6e62a2a4d76c | |
parent | 9ddc8ffc38a4488276c456eac50ef5b35954a6ee (diff) |
fixes #2276 (StdMsg: drag-n-drop leaves a file's icon in the entry field)
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 8e5aa0a79d..1c89c56be7 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -550,7 +550,7 @@ INT_PTR CMsgDialog::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) case WM_DROPFILES: // Mod from tabsrmm
ProcessFileDrop((HDROP)wParam, m_hContact);
- return TRUE;
+ return FALSE;
case HM_AVATARACK:
ShowAvatar();
@@ -964,7 +964,7 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) case WM_DROPFILES:
ProcessFileDrop((HDROP)wParam, m_hContact);
- break;
+ return FALSE;
case WM_LBUTTONDOWN:
case WM_RBUTTONDOWN:
|