From 53fe3e46177d17b4941610de19f5cc6210700cb4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Nov 2018 21:44:56 +0300 Subject: db_* functions replaced with g_plugin calls --- plugins/Msg_Export/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Msg_Export/src/main.cpp') diff --git a/plugins/Msg_Export/src/main.cpp b/plugins/Msg_Export/src/main.cpp index b4738b3193..5337cb88e0 100755 --- a/plugins/Msg_Export/src/main.cpp +++ b/plugins/Msg_Export/src/main.cpp @@ -144,12 +144,12 @@ int CMPlugin::Load() if (nMaxLineWidth > 0 && nMaxLineWidth < 5) nMaxLineWidth = 5; - g_sExportDir = _DBGetStringW(NULL, MODULENAME, "ExportDir", L"%dbpath%\\MsgExport\\"); - g_sDefaultFile = _DBGetStringW(NULL, MODULENAME, "DefaultFile", L"%nick%.txt"); + g_sExportDir = _DBGetStringW(0, MODULENAME, "ExportDir", L"%dbpath%\\MsgExport\\"); + g_sDefaultFile = _DBGetStringW(0, MODULENAME, "DefaultFile", L"%nick%.txt"); - g_sTimeFormat = _DBGetStringW(NULL, MODULENAME, "TimeFormat", L"d s"); + g_sTimeFormat = _DBGetStringW(0, MODULENAME, "TimeFormat", L"d s"); - sFileViewerPrg = _DBGetStringW(NULL, MODULENAME, "FileViewerPrg", L""); + sFileViewerPrg = _DBGetStringW(0, MODULENAME, "FileViewerPrg", L""); g_bUseIntViewer = getBool("UseInternalViewer", true); g_bUseJson = getBool("UseJson", false); -- cgit v1.2.3