diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-12 23:51:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-12 23:51:06 +0300 |
commit | f4ae133ee3ba85c3ee2387cae24aaf25a6ae5c74 (patch) | |
tree | 889405636cb8e16187aed9ba8a44406aaef1ef17 /plugins/Clist_nicer/src/extBackg.cpp | |
parent | 30dd1623d85c3f8719b9668bc03b4bda26adc2e9 (diff) |
NULL -> 0
Diffstat (limited to 'plugins/Clist_nicer/src/extBackg.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/extBackg.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/extBackg.cpp b/plugins/Clist_nicer/src/extBackg.cpp index 6cffd44a57..f4bf1be8b3 100644 --- a/plugins/Clist_nicer/src/extBackg.cpp +++ b/plugins/Clist_nicer/src/extBackg.cpp @@ -1184,7 +1184,7 @@ static void BTN_ReadItem(char *itemName, char *file) void IMG_LoadItems()
{
DBVARIANT dbv;
- if (db_get_ws(NULL, "CLC", "AdvancedSkin", &dbv))
+ if (db_get_ws(0, "CLC", "AdvancedSkin", &dbv))
return;
wchar_t tszFileName[MAX_PATH];
@@ -1460,7 +1460,7 @@ static void ApplyCLUISkin() DBVARIANT dbv = { 0 };
wchar_t tszFinalName[MAX_PATH];
char szFinalName[MAX_PATH];
- if (!db_get_ws(NULL, "CLC", "AdvancedSkin", &dbv)) {
+ if (!db_get_ws(0, "CLC", "AdvancedSkin", &dbv)) {
MY_pathToAbsolute(dbv.pwszVal, tszFinalName);
WideCharToMultiByte(CP_ACP, 0, tszFinalName, MAX_PATH, szFinalName, MAX_PATH, nullptr, nullptr);
@@ -1513,7 +1513,7 @@ static INT_PTR CALLBACK DlgProcSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L else
Utils::enableDlgControl(hwndDlg, IDC_RELOAD, FALSE);
CheckDlgButton(hwndDlg, IDC_USESKIN, db_get_b(0, "CLUI", "useskin", 0) ? BST_CHECKED : BST_UNCHECKED);
- if (!db_get_ws(NULL, "CLC", "AdvancedSkin", &dbv)) {
+ if (!db_get_ws(0, "CLC", "AdvancedSkin", &dbv)) {
SetDlgItemText(hwndDlg, IDC_SKINFILENAME, dbv.pwszVal);
db_free(&dbv);
}
@@ -1564,7 +1564,7 @@ static INT_PTR CALLBACK DlgProcSkinOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L int skinChanged = 0;
DBVARIANT dbv = { 0 };
- if (!db_get_ws(NULL, "CLC", "AdvancedSkin", &dbv)) {
+ if (!db_get_ws(0, "CLC", "AdvancedSkin", &dbv)) {
if (mir_wstrcmp(dbv.pwszVal, final_path))
skinChanged = TRUE;
db_free(&dbv);
|