diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/UserGuide | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff) |
hello, Unix.
phase 1: removing _T()
git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserGuide')
-rw-r--r-- | plugins/UserGuide/src/main.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/UserGuide/src/main.cpp b/plugins/UserGuide/src/main.cpp index 24d1c2e716..9492c6896b 100644 --- a/plugins/UserGuide/src/main.cpp +++ b/plugins/UserGuide/src/main.cpp @@ -28,22 +28,22 @@ static INT_PTR ShowGuideFile(WPARAM, LPARAM) if (ptszHelpFile==0)
{
- mir_tstrcpy(pszDirName, _T("%miranda_path%\\Plugins"));
- mir_tstrcpy(pszFileName, _T("UserGuide.chm"));
+ mir_tstrcpy(pszDirName, L"%miranda_path%\\Plugins");
+ mir_tstrcpy(pszFileName, L"UserGuide.chm");
}
else
{
- if(!mir_tstrcmp(ptszHelpFile, _T("")))
+ if(!mir_tstrcmp(ptszHelpFile, L""))
{
- mir_tstrcpy(pszDirName, _T("%miranda_path%\\Plugins"));
- mir_tstrcpy(pszFileName, _T("UserGuide.chm"));
+ mir_tstrcpy(pszDirName, L"%miranda_path%\\Plugins");
+ mir_tstrcpy(pszFileName, L"UserGuide.chm");
}
else
{
LPTSTR pszDivider = _tcsrchr(ptszHelpFile, '\\');
if (pszDivider == NULL)
{
- mir_tstrcpy(pszDirName, _T(""));
+ mir_tstrcpy(pszDirName, L"");
_tcsncpy(pszFileName, ptszHelpFile, mir_tstrlen(ptszHelpFile));
}
else
@@ -60,7 +60,7 @@ static INT_PTR ShowGuideFile(WPARAM, LPARAM) pszDirNameEx = Utils_ReplaceVarsT(pszDirName);
mir_free(pszDirName);
- ShellExecute(NULL, _T("open"), pszFileName, NULL, pszDirNameEx, SW_SHOW);
+ ShellExecute(NULL, L"open", pszFileName, NULL, pszDirNameEx, SW_SHOW);
mir_free(pszFileName);
mir_free(pszDirNameEx);
return 0;
|