diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-21 22:00:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-21 22:00:16 +0000 |
commit | b81ce648978e75bc7db4cc3b8aa7d1b9fcb9239b (patch) | |
tree | de3eb9058f630682a355ac5135b2efb60256b4ca /plugins/UserGuide | |
parent | ff758bb8a00f34eb77fd385b18afea24388a915f (diff) |
MS_UTILS_REPLACEVARS -> Utils_ReplaceVars
git-svn-id: http://svn.miranda-ng.org/main/trunk@14316 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserGuide')
-rw-r--r-- | plugins/UserGuide/src/main.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
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);
|