summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-02-16 17:23:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-02-16 17:23:59 +0300
commit58896c67fdc310f5501990afd758da23ff64d3c0 (patch)
treeb54a2fb79bf33f43e190337345c13538b1400dd0 /plugins/Scriver
parent94e76a5c75a16273ac41fd1692d103b15b5dd092 (diff)
fixes #3033 ("Gap between buttons" option is broken)
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/utils.cpp b/plugins/Scriver/src/utils.cpp
index b253ccdddf..a2702075f5 100644
--- a/plugins/Scriver/src/utils.cpp
+++ b/plugins/Scriver/src/utils.cpp
@@ -250,7 +250,7 @@ void SetButtonsPos(HWND hwndDlg, MCONTACT hContact, bool bShow)
pt.y -= 20;
int iLeftX = 2, iRightX = rc.right - rc.left - 2;
- int iGap = g_plugin.getByte("ButtonsBarGap", 1);
+ int iGap = Srmm_GetButtonGap();
CustomButtonData *cbd;
for (int i = 0; cbd = Srmm_GetNthButton(i); i++) {