From c8e8e884a6a632c5766eddab2d84c6a6b2216d6c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 6 Dec 2016 14:22:46 +0300 Subject: StdMsg & Scriver: - switched to the toolbar buttons instead of the fixed button set; - switched to the shared windows list --- src/mir_app/src/srmm_toolbar.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp index e3e93a29b2..988f5d9949 100644 --- a/src/mir_app/src/srmm_toolbar.cpp +++ b/src/mir_app/src/srmm_toolbar.cpp @@ -113,12 +113,10 @@ MIR_APP_DLL(int) Srmm_AddButton(const BBButton *bbdi, int _hLang) return 1; CustomButtonData *cbd = new CustomButtonData(); - if (!bbdi->iButtonWidth && (bbdi->bbbFlags & BBBF_ISARROWBUTTON)) + if (bbdi->bbbFlags & BBBF_ISARROWBUTTON) cbd->m_iButtonWidth = DPISCALEX_S(34); - else if (!bbdi->iButtonWidth) - cbd->m_iButtonWidth = DPISCALEX_S(22); else - cbd->m_iButtonWidth = DPISCALEX_S(bbdi->iButtonWidth); + cbd->m_iButtonWidth = DPISCALEX_S(22); cbd->m_pszModuleName = mir_strdup(bbdi->pszModuleName); cbd->m_pwszTooltip = mir_wstrdup(bbdi->pwszTooltip); -- cgit v1.2.3