diff options
Diffstat (limited to 'plugins/Quotes')
-rw-r--r-- | plugins/Quotes/src/SettingsDlg.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/Quotes/src/SettingsDlg.cpp b/plugins/Quotes/src/SettingsDlg.cpp index 268b9a1c1b..501b3b7aef 100644 --- a/plugins/Quotes/src/SettingsDlg.cpp +++ b/plugins/Quotes/src/SettingsDlg.cpp @@ -1070,14 +1070,9 @@ tstring GenerateLogFileName(const tstring& rsLogFilePattern, }
}
- if (nFlags&glfnResolveUserProfile)
+ if (nFlags & glfnResolveUserProfile)
{
- REPLACEVARSDATA dat = { 0 };
- dat.cbSize = sizeof(dat);
- dat.dwFlags = RVF_TCHAR;
-
- TCHAR* ptszParsedName = reinterpret_cast<TCHAR*>(CallService(MS_UTILS_REPLACEVARS,
- reinterpret_cast<WPARAM>(sPath.c_str()), reinterpret_cast<LPARAM>(&dat)));
+ TCHAR* ptszParsedName = Utils_ReplaceVarsT(sPath.c_str());
if (ptszParsedName)
{
sPath = ptszParsedName;
|