summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-23 08:45:48 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-23 08:45:48 +0000
commit8ac515c724e2d0eb4e15d610710a0d5aa13ad7c0 (patch)
treeac397c427e7fb31fd67e8ad374b61984cc2cbd58
parentc7d408a2205e91b3f192130b72ee28b66180b3d0 (diff)
- 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
-rw-r--r--src/modules/clist/contacts.cpp16
-rw-r--r--src/modules/database/database.cpp18
2 files changed, 17 insertions, 17 deletions
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;
}