summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-06 12:40:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-06 12:40:15 +0300
commitac92ec1a55354e57b8cc6d4fd77aa2e75a896242 (patch)
tree78fdea1e5b3db2a7d76556e03ac2970acb4b8b76
parentd5ed801570c6a6ed01c31f8a6e42c379d5c91cc5 (diff)
fixes #729 ([Tabsrmm] "img" insert button no longer works on a toggle)
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp
index b94c175ef0..2531875b07 100644
--- a/src/mir_app/src/srmm_toolbar.cpp
+++ b/src/mir_app/src/srmm_toolbar.cpp
@@ -207,7 +207,7 @@ MIR_APP_DLL(int) Srmm_SetButtonState(MCONTACT hContact, BBButton *bbdi)
ShowWindow(hwndBtn, (bbdi->bbbFlags & BBSF_HIDDEN) ? SW_HIDE : SW_SHOW);
EnableWindow(hwndBtn, !(bbdi->bbbFlags & BBSF_DISABLED));
Button_SetCheck(hwndBtn, (bbdi->bbbFlags & BBSF_PUSHED) != 0);
- Button_SetCheck(hwndBtn, (bbdi->bbbFlags & BBSF_RELEASED) != 0);
+ Button_SetCheck(hwndBtn, (bbdi->bbbFlags & BBSF_RELEASED) == 0);
}
return 0;
}