diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-28 21:28:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-28 21:28:50 +0000 |
commit | 190968e9803a32bd4e609176989564735098146c (patch) | |
tree | a3ab28871ffd27d84f401ebd9e4f79423c1823e8 /plugins/Clist_modern/modern_row.cpp | |
parent | 46c66c9252010602ba3194956e7710946066879b (diff) |
database stubs moved to mir_core
git-svn-id: http://svn.miranda-ng.org/main/trunk@676 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_row.cpp')
-rw-r--r-- | plugins/Clist_modern/modern_row.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/modern_row.cpp b/plugins/Clist_modern/modern_row.cpp index d7e9b51b58..b728b5c516 100644 --- a/plugins/Clist_modern/modern_row.cpp +++ b/plugins/Clist_modern/modern_row.cpp @@ -68,10 +68,10 @@ ROWCELL *cppInitModernRow(ROWCELL ** tabAccess) ROWCELL * RowRoot=NULL;
FILE * hFile;
int i=0;
- if (!ModernGetSettingByte(NULL,"ModernData","UseAdvancedRowLayout",SETTING_ROW_ADVANCEDLAYOUT_DEFAULT)) return NULL;
+ if (!db_get_b(NULL,"ModernData","UseAdvancedRowLayout",SETTING_ROW_ADVANCEDLAYOUT_DEFAULT)) return NULL;
tmplbuf=NULL;
- if (ModernGetSettingByte(NULL,"ModernData","UseAdvancedRowLayout",SETTING_ROW_ADVANCEDLAYOUT_DEFAULT)==1)
- tmplbuf= ModernGetStringA(NULL,"ModernData","RowTemplate");
+ if (db_get_b(NULL,"ModernData","UseAdvancedRowLayout",SETTING_ROW_ADVANCEDLAYOUT_DEFAULT)==1)
+ tmplbuf= db_get_sa(NULL,"ModernData","RowTemplate");
if (tmplbuf)
{
rowParse(RowRoot, RowRoot, tmplbuf, i, seq,tabAccess);
@@ -88,7 +88,7 @@ ROWCELL *cppInitModernRow(ROWCELL ** tabAccess) tmplbuf[i] = 0;
i = 0;
rowParse(RowRoot, RowRoot, tmplbuf, i, seq,tabAccess);
- ModernWriteSettingString(NULL,"ModernData","RowTemplate",tmplbuf);
+ db_set_s(NULL,"ModernData","RowTemplate",tmplbuf);
free(tmplbuf);
fclose(hFile);
return RowRoot;
|