diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-25 13:18:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-25 13:18:45 +0300 |
commit | 19bf42ce996ea933dfbb234034ff317a7edd3bf0 (patch) | |
tree | 6595b7e635ae675abc44a146bd7e9abfe23caf6d /plugins/Scriver/src | |
parent | ab2e695163f8712cd9beb21ecf3be1714243479e (diff) |
fix to prevent duplicate event processing
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/chat_window.cpp | 4 | ||||
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp index e7b3ecd9bc..314daf7696 100644 --- a/plugins/Scriver/src/chat_window.cpp +++ b/plugins/Scriver/src/chat_window.cpp @@ -790,7 +790,7 @@ LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) return 0;
}
- return 0;
+ return CSuper::WndProc_Message(msg, wParam, lParam);
}
/////////////////////////////////////////////////////////////////////////////////////////
@@ -914,7 +914,7 @@ LRESULT CChatRoomDlg::WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam) break;
}
- return 0;
+ return CSuper::WndProc_Log(msg, wParam, lParam);
}
/////////////////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 69f8681857..c51e8da8f2 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1046,7 +1046,8 @@ LRESULT CSrmmWindow::WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam) DestroyMenu(hMenu);
return TRUE;
}
- return 0;
+
+ return CSuper::WndProc_Log(msg, wParam, lParam);
}
LRESULT CSrmmWindow::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
@@ -1120,7 +1121,7 @@ LRESULT CSrmmWindow::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) InputAreaContextMenu(m_message.GetHwnd(), wParam, lParam, m_hContact);
return TRUE;
}
- return 0;
+ return CSuper::WndProc_Message(msg, wParam, lParam);
}
/////////////////////////////////////////////////////////////////////////////////////////
|