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/UserGuide/src/main.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'plugins/UserGuide/src') diff --git a/plugins/UserGuide/src/main.cpp b/plugins/UserGuide/src/main.cpp index d47ffad71d..4ca983f323 100644 --- a/plugins/UserGuide/src/main.cpp +++ b/plugins/UserGuide/src/main.cpp @@ -57,12 +57,8 @@ static INT_PTR ShowGuideFile(WPARAM, LPARAM) mir_free(ptszHelpFile); } LPTSTR pszDirNameEx; - if (ServiceExists(MS_UTILS_REPLACEVARS)) { - pszDirNameEx = Utils_ReplaceVarsT(pszDirName); - mir_free(pszDirName); - } - else - pszDirNameEx = pszDirName; + pszDirNameEx = Utils_ReplaceVarsT(pszDirName); + mir_free(pszDirName); ShellExecute(NULL, _T("open"), pszFileName, NULL, pszDirNameEx, SW_SHOW); mir_free(pszFileName); -- cgit v1.2.3