summaryrefslogtreecommitdiff
path: root/plugins/UserGuide
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserGuide')
-rw-r--r--plugins/UserGuide/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserGuide/src/main.cpp b/plugins/UserGuide/src/main.cpp
index 1be4b8763f..2ea909a8e1 100644
--- a/plugins/UserGuide/src/main.cpp
+++ b/plugins/UserGuide/src/main.cpp
@@ -29,7 +29,7 @@ static INT_PTR ShowGuideFile(WPARAM, LPARAM)
LPTSTR pszDirName = (LPTSTR)mir_alloc(250 * sizeof(wchar_t));
LPTSTR pszFileName = (LPTSTR)mir_alloc(250 * sizeof(wchar_t));
- wchar_t *ptszHelpFile = db_get_wsa(NULL, "UserGuide", "PathToHelpFile");
+ wchar_t *ptszHelpFile = db_get_wsa(0, "UserGuide", "PathToHelpFile");
if (ptszHelpFile == nullptr) {
mir_wstrcpy(pszDirName, L"%miranda_path%\\Plugins");