diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-12 12:40:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-12 12:40:54 +0300 |
commit | 2799bc76e46d2444b14fdd1ca46245723c0de1f1 (patch) | |
tree | 97f75605cfd78082b92e8904b79120f2d5c37a1b | |
parent | 4b4c9d139f15b208cd0f0008d2bf81f21d462232 (diff) |
these conditions are identical
-rw-r--r-- | src/mir_core/src/CCtrlButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/CCtrlButton.cpp b/src/mir_core/src/CCtrlButton.cpp index 81a8ad33e3..d00d6ed498 100644 --- a/src/mir_core/src/CCtrlButton.cpp +++ b/src/mir_core/src/CCtrlButton.cpp @@ -31,7 +31,7 @@ CCtrlButton::CCtrlButton(CDlgBase* wnd, int idCtrl) BOOL CCtrlButton::OnCommand(HWND, WORD, WORD idCode) { - if (idCode == BN_CLICKED || idCode == STN_CLICKED) + if (idCode == BN_CLICKED) OnClick(this); return FALSE; } |