summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/toolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar/toolbar.cpp')
-rw-r--r--plugins/TopToolBar/toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/toolbar.cpp b/plugins/TopToolBar/toolbar.cpp
index 8e42322e58..510a3a8989 100644
--- a/plugins/TopToolBar/toolbar.cpp
+++ b/plugins/TopToolBar/toolbar.cpp
@@ -139,7 +139,7 @@ int SaveAllButtonsOptions()
int LaunchCnt = 0;
for (int i = 0; i < Buttons.getCount(); i++)
- Buttons[i]->SaveSettings(SeparatorCnt,LaunchCnt);
+ Buttons[i]->SaveSettings(&SeparatorCnt, &LaunchCnt);
DBWriteContactSettingByte(0, TTB_OPTDIR, "SepCnt", SeparatorCnt);
DBWriteContactSettingByte(0, TTB_OPTDIR, "LaunchCnt", LaunchCnt);