From c1b07589623a9d8401982e10a38faaddecd42496 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Mar 2013 10:14:44 +0000 Subject: StartupStatus: - Unicode profile names; - the correct profile is displayed in the confirmation dialog - special resource files for VC6 removed; - code cleaning; - version bump. git-svn-id: http://svn.miranda-ng.org/main/trunk@4172 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusPlugins/StartupStatus/toolbars.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/StatusPlugins/StartupStatus/toolbars.cpp') diff --git a/plugins/StatusPlugins/StartupStatus/toolbars.cpp b/plugins/StatusPlugins/StartupStatus/toolbars.cpp index ffabfcd152..1109eb24f3 100644 --- a/plugins/StatusPlugins/StartupStatus/toolbars.cpp +++ b/plugins/StatusPlugins/StartupStatus/toolbars.cpp @@ -56,7 +56,7 @@ int CreateTopToolbarButtons(WPARAM wParam, LPARAM lParam) for (int i=0; i < profileCount; i++) { char setting[80]; _snprintf(setting, sizeof(setting), "%d_%s", i, SETTING_CREATETTBBUTTON); - if (!DBGetContactSettingByte(NULL, MODULENAME, setting, FALSE)) + if (!db_get_b(NULL, MODULENAME, setting, FALSE)) continue; DBVARIANT dbv; @@ -71,7 +71,7 @@ int CreateTopToolbarButtons(WPARAM wParam, LPARAM lParam) HANDLE ttbAddResult = TopToolbar_AddButton(&ttb); if (ttbAddResult) ttbButtons.insert(ttbAddResult); - DBFreeVariant(&dbv); + db_free(&dbv); } return 0; } -- cgit v1.2.3