diff options
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);
|