From 08d8ee4b71da0733cf6123126db73e39d2324058 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 19 Jan 2013 22:43:08 +0000 Subject: - Another portion of _T replacement (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/PasteIt/src/Options.cpp | 42 ++++++++++++++++++++--------------------- plugins/PasteIt/src/PasteIt.cpp | 8 ++++---- 2 files changed, 25 insertions(+), 25 deletions(-) (limited to 'plugins/PasteIt') diff --git a/plugins/PasteIt/src/Options.cpp b/plugins/PasteIt/src/Options.cpp index 49309bc580..5552ac0d6a 100644 --- a/plugins/PasteIt/src/Options.cpp +++ b/plugins/PasteIt/src/Options.cpp @@ -34,27 +34,27 @@ struct TCpTable { TCHAR *cpName; } cpTable[] = { - { CP_ACP, _T("Use default codepage") }, - { CP_UTF8, _T("UTF-8") }, - { 874, _T("Thai") }, - { 932, _T("Japanese") }, - { 936, _T("Simplified Chinese") }, - { 949, _T("Korean") }, - { 950, _T("Traditional Chinese") }, - { 1250, _T("Central European") }, - { 1251, _T("Cyrillic") }, - { 20866, _T("Cyrillic KOI8-R") }, - { 1252, _T("Latin I") }, - { 1253, _T("Greek") }, - { 1254, _T("Turkish") }, - { 1255, _T("Hebrew") }, - { 1256, _T("Arabic") }, - { 1257, _T("Baltic") }, - { 1258, _T("Vietnamese") }, - { 1361, _T("Korean (Johab)") }, - { CP_UTF7, _T("UTF-7") }, - { 1200, _T("UTF-16") }, - { 1201, _T("UTF-16BE") } + { CP_ACP, LPGENT("Use default codepage") }, + { CP_UTF8, LPGENT("UTF-8") }, + { 874, LPGENT("Thai") }, + { 932, LPGENT("Japanese") }, + { 936, LPGENT("Simplified Chinese") }, + { 949, LPGENT("Korean") }, + { 950, LPGENT("Traditional Chinese") }, + { 1250, LPGENT("Central European") }, + { 1251, LPGENT("Cyrillic") }, + { 20866, LPGENT("Cyrillic KOI8-R") }, + { 1252, LPGENT("Latin I") }, + { 1253, LPGENT("Greek") }, + { 1254, LPGENT("Turkish") }, + { 1255, LPGENT("Hebrew") }, + { 1256, LPGENT("Arabic") }, + { 1257, LPGENT("Baltic") }, + { 1258, LPGENT("Vietnamese") }, + { 1361, LPGENT("Korean (Johab)") }, + { CP_UTF7, LPGENT("UTF-7") }, + { 1200, LPGENT("UTF-16") }, + { 1201, LPGENT("UTF-16BE") } }; Options::Options() diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index 4d23855372..0297d056f9 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -370,7 +370,7 @@ void InitMenuItems() mi.flags = CMIF_ROOTPOPUP | CMIF_ICONFROMICOLIB | CMIF_TCHAR; mi.icolibItem = icon.hIcolib; mi.position = 3000090005; - mi.ptszName = _T("Paste It"); + mi.ptszName = LPGENT("Paste It"); hContactMenu = Menu_AddContactMenuItem(&mi); @@ -380,15 +380,15 @@ void InitMenuItems() mi.pszService = MS_PASTEIT_CONTACTMENU; mi.hParentMenu = hContactMenu; mi.popupPosition = FROM_CLIPBOARD; - mi.ptszName = _T("Paste from clipboard"); + mi.ptszName = LPGENT("Paste from clipboard"); Menu_AddContactMenuItem(&mi); mi.popupPosition = FROM_FILE; - mi.ptszName = _T("Paste from file"); + mi.ptszName = LPGENT("Paste from file"); Menu_AddContactMenuItem(&mi); mi.popupPosition = DEF_PAGES_START - 1; - mi.ptszName = _T("Default web page"); + mi.ptszName = LPGENT("Default web page"); HGENMENU hDefWebMenu = Menu_AddContactMenuItem(&mi); CLISTMENUITEM mi2 = { sizeof(mi2) }; -- cgit v1.2.3