summaryrefslogtreecommitdiff
path: root/plugins/UserGuide
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-08 20:12:16 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-08 20:12:26 +0300
commit8ffc77be71507825a8f7585bcabff8ccc370206a (patch)
treeaa13a8070f31286db6ad22e17a577e547942f951 /plugins/UserGuide
parent41b2fdfc654e3eec07c97ceba00cda13d988ffff (diff)
db_get_sa / db_get_wsa to receive the default value, massive code simplification
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");