summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/file.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-11-12 23:50:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-11-12 23:50:45 +0300
commit30dd1623d85c3f8719b9668bc03b4bda26adc2e9 (patch)
treed5b438cccf773be2e2701f08086b335f184443f7 /plugins/SeenPlugin/src/file.cpp
parenta7cd863ba1661b1ccae541bee86bae297bfe9336 (diff)
SeenPlugin -> g_plugin
Diffstat (limited to 'plugins/SeenPlugin/src/file.cpp')
-rw-r--r--plugins/SeenPlugin/src/file.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/file.cpp b/plugins/SeenPlugin/src/file.cpp
index ac3d85b774..e3e7d6b2e4 100644
--- a/plugins/SeenPlugin/src/file.cpp
+++ b/plugins/SeenPlugin/src/file.cpp
@@ -30,7 +30,7 @@ static wchar_t *g_ptszFileStamp, *g_ptszFileName;
void InitFileOutput(void)
{
- ptrW tszFileName(db_get_wsa(NULL, S_MOD, "FileName"));
+ ptrW tszFileName(g_plugin.getWStringA("FileName"));
if (tszFileName == NULL)
tszFileName = mir_wstrdup(DEFAULT_FILENAME);
replaceStrW(g_ptszFileName, VARSW(tszFileName));
@@ -40,7 +40,7 @@ void InitFileOutput(void)
if (p) *p = 0;
CreateDirectoryTreeW(tszPath);
- ptrW tszFileStamp(db_get_wsa(NULL, S_MOD, "FileStamp"));
+ ptrW tszFileStamp(g_plugin.getWStringA("FileStamp"));
replaceStrW(g_ptszFileStamp, (tszFileStamp == NULL) ? DEFAULT_FILESTAMP : tszFileStamp);
}