summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-12 23:51:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-12 23:51:06 +0300
commitf4ae133ee3ba85c3ee2387cae24aaf25a6ae5c74 (patch)
tree889405636cb8e16187aed9ba8a44406aaef1ef17 /plugins/AVS/src/options.cpp
parent30dd1623d85c3f8719b9668bc03b4bda26adc2e9 (diff)
NULL -> 0
Diffstat (limited to 'plugins/AVS/src/options.cpp')
-rw-r--r--plugins/AVS/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/options.cpp b/plugins/AVS/src/options.cpp
index 057098a607..bef7b80373 100644
--- a/plugins/AVS/src/options.cpp
+++ b/plugins/AVS/src/options.cpp
@@ -385,7 +385,7 @@ static INT_PTR CALLBACK DlgProcOptionsProtos(HWND hwndDlg, UINT msg, WPARAM wPar
g_selectedProto = GetProtoFromList(hwndDlg, iItem);
if (g_selectedProto) {
DBVARIANT dbv;
- if (!db_get_ws(NULL, PPICT_MODULE, g_selectedProto->szProtoname, &dbv)) {
+ if (!db_get_ws(0, PPICT_MODULE, g_selectedProto->szProtoname, &dbv)) {
if (!PathIsAbsoluteW(VARSW(dbv.pwszVal))) {
wchar_t szFinalPath[MAX_PATH];
mir_snwprintf(szFinalPath, L"%%miranda_path%%\\%s", dbv.pwszVal);