summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-30 22:31:49 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-30 22:31:58 +0300
commitd740c844823e16dde4811c7582068d18de850a55 (patch)
tree69c573bb6d2caedbc37bf75735e8024d2158d72e
parent1784c4a94a868a03694845619d8ba96a3e7ec7e0 (diff)
flag renamed to be more logically called
-rw-r--r--include/m_message.h2
-rw-r--r--plugins/TabSRMM/src/buttonsbar.cpp2
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/include/m_message.h b/include/m_message.h
index 9df503b6d0..10642becf7 100644
--- a/include/m_message.h
+++ b/include/m_message.h
@@ -232,7 +232,7 @@ struct StatusIconClickData
#define BBBF_ISIMBUTTON (1<<5)
#define BBBF_ISRSIDEBUTTON (1<<7)
#define BBBF_CANBEHIDDEN (1<<8)
-#define BBBF_ISDUMMYBUTTON (1<<9)
+#define BBBF_ISSEPARATOR (1<<9)
#define BBBF_CREATEBYID (1<<11) //only for tabsrmm internal use
diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp
index 1f3e24fde9..b6457fcdaa 100644
--- a/plugins/TabSRMM/src/buttonsbar.cpp
+++ b/plugins/TabSRMM/src/buttonsbar.cpp
@@ -88,7 +88,7 @@ static int CB_InitDefaultButtons(WPARAM, LPARAM)
Srmm_AddButton(&bbd);
// chat buttons
- bbd.bbbFlags = BBBF_ISCHATBUTTON | BBBF_ISDUMMYBUTTON;
+ bbd.bbbFlags = BBBF_ISCHATBUTTON | BBBF_ISSEPARATOR;
bbd.dwButtonID = 1;
bbd.pszModuleName = "tb_splitter";
bbd.dwDefPos = 35;
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp
index 0f5f941041..557fa8b248 100644
--- a/src/mir_app/src/srmm_toolbar.cpp
+++ b/src/mir_app/src/srmm_toolbar.cpp
@@ -63,7 +63,7 @@ static void CB_RegisterSeparators()
BBButton bbd = { 0 };
bbd.pszModuleName = "Tabsrmm_sep";
for (DWORD i = 0; dwSepCount > i; i++) {
- bbd.bbbFlags = BBBF_ISDUMMYBUTTON | BBBF_ISIMBUTTON;
+ bbd.bbbFlags = BBBF_ISSEPARATOR | BBBF_ISIMBUTTON;
bbd.dwButtonID = i + 1;
bbd.dwDefPos = 410 + i;
Srmm_AddButton(&bbd);
@@ -130,7 +130,7 @@ MIR_APP_DLL(int) Srmm_AddButton(const BBButton *bbdi, int _hLang)
cbd->m_bHidden = (bbdi->bbbFlags & BBBF_HIDDEN) != 0;
cbd->m_bRSided = (bbdi->bbbFlags & BBBF_ISRSIDEBUTTON) != 0;
cbd->m_bCanBeHidden = (bbdi->bbbFlags & BBBF_CANBEHIDDEN) != 0;
- cbd->m_bSeparator = (bbdi->bbbFlags & BBBF_ISDUMMYBUTTON) != 0;
+ cbd->m_bSeparator = (bbdi->bbbFlags & BBBF_ISSEPARATOR) != 0;
cbd->m_bChatButton = (bbdi->bbbFlags & BBBF_ISCHATBUTTON) != 0;
cbd->m_bIMButton = (bbdi->bbbFlags & BBBF_ISIMBUTTON) != 0;
cbd->m_bDisabled = (bbdi->bbbFlags & BBBF_DISABLED) != 0;