summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/src/topbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TopToolBar/src/topbutton.cpp')
-rw-r--r--plugins/TopToolBar/src/topbutton.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TopToolBar/src/topbutton.cpp b/plugins/TopToolBar/src/topbutton.cpp
index d0d423f7e7..45a13b0dab 100644
--- a/plugins/TopToolBar/src/topbutton.cpp
+++ b/plugins/TopToolBar/src/topbutton.cpp
@@ -96,10 +96,10 @@ void TopButtonInt::LoadSettings()
AS(buf2, "Launch", buf1);
mir_free(pszName);
- pszName = DBGetString(0, TTB_OPTDIR, AS(buf, buf2, "_name"));
+ pszName = db_get_sa(0, TTB_OPTDIR, AS(buf, buf2, "_name"));
mir_free(ptszProgram);
- ptszProgram = DBGetStringT(0, TTB_OPTDIR, AS(buf, buf2, "_lpath"));
+ ptszProgram = db_get_tsa(0, TTB_OPTDIR, AS(buf, buf2, "_lpath"));
arrangedpos = db_get_b(0, TTB_OPTDIR, AS(buf, buf2, "_Position"), Buttons.getCount());
if ( db_get_b(0, TTB_OPTDIR, AS(buf, buf2, "_Visible"), oldv) > 0 )