diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-17 21:37:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-17 21:37:06 +0300 |
commit | 245cb1682235352cb7b13539fccdd50f8da8ef35 (patch) | |
tree | a980e67f8388f55d3db34895f456b56b31ca894c /src/core | |
parent | 200a7f6a8d8b52f98d704372fb4dbab1b360acec (diff) |
crash fix
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/msgdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 785cd67048..36bea2898b 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -973,7 +973,8 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) {
switch (msg) {
case WM_MOUSEWHEEL:
- LOG()->WndProc(msg, wParam, lParam);
+ if (m_pLog->GetType() == 0)
+ LOG()->WndProc(msg, wParam, lParam);
m_iLastEnterTime = 0;
return TRUE;
|