diff options
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_skinopt.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_skinopt.cpp b/plugins/Clist_modern/src/modern_skinopt.cpp index 9409828f48..224feb33cf 100644 --- a/plugins/Clist_modern/src/modern_skinopt.cpp +++ b/plugins/Clist_modern/src/modern_skinopt.cpp @@ -432,10 +432,9 @@ HTREEITEM FillAvailableSkinList(HWND hwndDlg) if (attrib != INVALID_FILE_ATTRIBUTES && (attrib & FILE_ATTRIBUTE_DIRECTORY))
SearchSkinFiles(hwndDlg, SkinsFolder);
{
- TCHAR * skinfile;
TCHAR skinfull[MAX_PATH];
- skinfile = DBGetStringT( NULL, SKIN, "SkinFile");
- if ( skinfile ) {
+ TCHAR *skinfile = db_get_tsa( NULL, SKIN, "SkinFile");
+ if (skinfile) {
PathToAbsoluteT(skinfile, skinfull);
res = AddSkinToListFullName(hwndDlg, skinfull);
@@ -542,7 +541,7 @@ HTREEITEM AddItemToTree(HWND hTree, TCHAR *folder, TCHAR *itemName, void *data) INT_PTR SvcActiveSkin(WPARAM wParam, LPARAM lParam)
{
- TCHAR *skinfile = DBGetStringT(NULL, SKIN, "SkinFile");
+ TCHAR *skinfile = db_get_tsa(NULL, SKIN, "SkinFile");
if ( skinfile ) {
TCHAR skinfull[MAX_PATH];
PathToAbsoluteT(skinfile, skinfull);
|