summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/buttonsbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-18 13:05:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-18 13:05:24 +0300
commit9705b55d9b81bc6bcc475c4b2f7db9e33f89e037 (patch)
treeb04a40d6dfc265023f254faa9493723c7b87e734 /plugins/TabSRMM/src/buttonsbar.cpp
parent34d9db73c26ad24b1f8bf1e5a1949c407c9639ca (diff)
- two unused variables removed;
- second splitter's position altered to place a smiley button correctly
Diffstat (limited to 'plugins/TabSRMM/src/buttonsbar.cpp')
-rw-r--r--plugins/TabSRMM/src/buttonsbar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/buttonsbar.cpp b/plugins/TabSRMM/src/buttonsbar.cpp
index 4302a2cc05..1f3e24fde9 100644
--- a/plugins/TabSRMM/src/buttonsbar.cpp
+++ b/plugins/TabSRMM/src/buttonsbar.cpp
@@ -91,7 +91,7 @@ static int CB_InitDefaultButtons(WPARAM, LPARAM)
bbd.bbbFlags = BBBF_ISCHATBUTTON | BBBF_ISDUMMYBUTTON;
bbd.dwButtonID = 1;
bbd.pszModuleName = "tb_splitter";
- bbd.dwDefPos = 31;
+ bbd.dwDefPos = 35;
bbd.hIcon = 0;
bbd.pwszTooltip = 0;
Srmm_AddButton(&bbd);
@@ -157,7 +157,6 @@ void BB_InitDlgButtons(TWindowData *dat)
RECT rect;
GetClientRect(hdlg, &rect);
- int splitterY = ptSplitter.y - DPISCALEY_S(1);
dat->bbLSideWidth = dat->bbRSideWidth = 0;