From 8ac515c724e2d0eb4e15d610710a0d5aa13ad7c0 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 23 Jan 2013 08:45:48 +0000 Subject: - Another portion of _T replacement when it's not needed (from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/contacts.cpp | 16 ++++++++-------- src/modules/database/database.cpp | 18 +++++++++--------- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'src') diff --git a/src/modules/clist/contacts.cpp b/src/modules/clist/contacts.cpp index 36adf7ed34..3382681afc 100644 --- a/src/modules/clist/contacts.cpp +++ b/src/modules/clist/contacts.cpp @@ -21,14 +21,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define NAMEORDERCOUNT 8 static TCHAR* nameOrderDescr[ NAMEORDERCOUNT ] = { - _T("My custom name (not moveable)"), - _T("Nick"), - _T("FirstName"), - _T("E-mail"), - _T("LastName"), - _T("Username"), - _T("FirstName LastName"), - _T("'(Unknown Contact)' (not moveable)") + LPGENT("My custom name (not moveable)"), + LPGENT("Nick"), + LPGENT("FirstName"), + LPGENT("E-mail"), + LPGENT("LastName"), + LPGENT("Username"), + LPGENT("FirstName LastName"), + LPGENT("'(Unknown Contact)' (not moveable)") }; BYTE nameOrder[NAMEORDERCOUNT]; diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index 1a7f10395f..ae7bf05764 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -205,9 +205,9 @@ static void moveProfileDirProfiles(TCHAR *profiledir, BOOL isRootDir = TRUE) mir_sntprintf(path2, SIZEOF(path2), _T("%s\\%s\\%s"), profiledir, profile, ffd.cFileName); if (_taccess(path2, 0) == 0) { const TCHAR tszMoveMsg[] = - _T("Miranda is trying upgrade your profile structure.\n") - _T("It cannot move profile %s to the new location %s\n") - _T("Because profile with this name already exist. Please resolve the issue manually."); + LPGENT("Miranda is trying upgrade your profile structure.\n") + LPGENT("It cannot move profile %s to the new location %s\n") + LPGENT("Because profile with this name already exist. Please resolve the issue manually."); TCHAR buf[512]; mir_sntprintf(buf, SIZEOF(buf), TranslateTS(tszMoveMsg), path, path2); @@ -215,9 +215,9 @@ static void moveProfileDirProfiles(TCHAR *profiledir, BOOL isRootDir = TRUE) } else if (MoveFile(path, path2) == 0) { const TCHAR tszMoveMsg[] = - _T("Miranda is trying upgrade your profile structure.\n") - _T("It cannot move profile %s to the new location %s automatically\n") - _T("Most likely due to insufficient privileges. Please move profile manually."); + LPGENT("Miranda is trying upgrade your profile structure.\n") + LPGENT("It cannot move profile %s to the new location %s automatically\n") + LPGENT("Most likely due to insufficient privileges. Please move profile manually."); TCHAR buf[512]; mir_sntprintf(buf, SIZEOF(buf), TranslateTS(tszMoveMsg), path, path2); @@ -304,9 +304,9 @@ static int getProfile(TCHAR *szProfile, size_t cch) getProfileDefault(szProfile, cch, g_profileDir); if (IsInsideRootDir(g_profileDir, true)) { MessageBox(NULL, - _T("Profile cannot be placed into Miranda root folder.\n") - _T("Please move Miranda profile to some other location."), - _T("Miranda NG"), MB_ICONERROR | MB_OK); + LPGENT("Profile cannot be placed into Miranda root folder.\n") + LPGENT("Please move Miranda profile to some other location."), + LPGENT("Miranda NG"), MB_ICONERROR | MB_OK); return 0; } -- cgit v1.2.3