diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-24 10:14:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-24 10:14:44 +0000 |
commit | c1b07589623a9d8401982e10a38faaddecd42496 (patch) | |
tree | f4458e6fc2a6dceac7672794316ef69aa81c993c /plugins/StatusPlugins/StartupStatus/toolbars.cpp | |
parent | 16b08498841634e581ef4e366d9a0bb533e6b513 (diff) |
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
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus/toolbars.cpp')
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/toolbars.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
}
|