diff options
Diffstat (limited to 'plugins/SeenPlugin/src/file.cpp')
-rw-r--r-- | plugins/SeenPlugin/src/file.cpp | 4 |
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);
}
|