summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_skineditor.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-28 21:28:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-28 21:28:50 +0000
commit190968e9803a32bd4e609176989564735098146c (patch)
treea3ab28871ffd27d84f401ebd9e4f79423c1823e8 /plugins/Clist_modern/modern_skineditor.cpp
parent46c66c9252010602ba3194956e7710946066879b (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_skineditor.cpp')
-rw-r--r--plugins/Clist_modern/modern_skineditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/modern_skineditor.cpp b/plugins/Clist_modern/modern_skineditor.cpp
index 8684c3d53f..595ed0a835 100644
--- a/plugins/Clist_modern/modern_skineditor.cpp
+++ b/plugins/Clist_modern/modern_skineditor.cpp
@@ -135,8 +135,8 @@ int enumDB_SkinObjectsForEditorProc(const char *szSetting,LPARAM lParam)
char *descKey;
descKey=mir_strdup(szSetting);
descKey[0]='%';
- value= ModernGetStringA(NULL,SKIN,szSetting);
- desc= ModernGetStringA(NULL,SKIN,descKey);
+ value= db_get_sa(NULL,SKIN,szSetting);
+ desc= db_get_sa(NULL,SKIN,descKey);
if (wildcmp(value,"?lyph*",0))
{
OPT_OBJECT_DATA * a=(OPT_OBJECT_DATA*)mir_alloc(sizeof(OPT_OBJECT_DATA));
@@ -489,7 +489,7 @@ void StoreTreeNode(HWND hTree, HTREEITEM node, char * section)
{
OPT_OBJECT_DATA * dat =(OPT_OBJECT_DATA*)(tvi.lParam);
if (dat->szName && dat->szValue)
- ModernWriteSettingString(NULL,section,dat->szName,dat->szValue);
+ db_set_s(NULL,section,dat->szName,dat->szValue);
}
tmp2=TreeView_GetChild(hTree,tmp);
if (tmp2) StoreTreeNode(hTree,tmp2,section);
@@ -503,7 +503,7 @@ void StoreTreeToDB(HWND hTree, char * section)
HTREEITEM tmp=NULL;
tmp=TreeView_GetRoot(hTree);
StoreTreeNode(hTree,tmp,section);
- ModernWriteSettingByte(NULL,section,"Modified",1);
+ db_set_b(NULL,section,"Modified",1);
glSkinWasModified=2;
}
static BOOL fileChanged=FALSE;