From b81ce648978e75bc7db4cc3b8aa7d1b9fcb9239b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 21 Jun 2015 22:00:16 +0000 Subject: MS_UTILS_REPLACEVARS -> Utils_ReplaceVars git-svn-id: http://svn.miranda-ng.org/main/trunk@14316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/SettingsDlg.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'plugins/Quotes') 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(CallService(MS_UTILS_REPLACEVARS, - reinterpret_cast(sPath.c_str()), reinterpret_cast(&dat))); + TCHAR* ptszParsedName = Utils_ReplaceVarsT(sPath.c_str()); if (ptszParsedName) { sPath = ptszParsedName; -- cgit v1.2.3