From 5aa746e3b0585c460c285d0b41cfda313323a5f8 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 20 Jan 2013 18:33:11 +0000 Subject: - Another portion of _T replacement (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3197 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FloatingContacts/src/main.cpp | 6 +++--- plugins/FloatingContacts/src/options.cpp | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'plugins/FloatingContacts/src') diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index 835bdaaad9..67116d8f83 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -1060,7 +1060,7 @@ static void LoadMenus() mi.position = 0xFFFFF; mi.flags = CMIF_TCHAR; mi.hIcon = LoadIcon( hInst, MAKEINTRESOURCE( IDI_HIDE )); - mi.ptszName = _T("Remove thumb"); + mi.ptszName = LPGENT("Remove thumb"); mi.pszService = sModule "/RemoveThumb"; hMenuItemRemove = Menu_AddContactMenuItem(&mi); @@ -1072,7 +1072,7 @@ static void LoadMenus() mi.position = 0xFFFFF; mi.flags = CMIF_TCHAR; mi.hIcon = LoadIcon( hInst, MAKEINTRESOURCE( fcOpt.bHideAll ? IDI_SHOW : IDI_HIDE )); - mi.ptszName = fcOpt.bHideAll ? _T("Show all thumbs") : _T("Hide all thumbs"); + mi.ptszName = fcOpt.bHideAll ? LPGENT("Show all thumbs") : LPGENT("Hide all thumbs"); mi.pszService = sModule "/MainHideAllThumbs"; Menu_AddMainMenuItem(&mi); @@ -1186,7 +1186,7 @@ static INT_PTR OnMainMenu_HideAll( WPARAM wParam, LPARAM lParam ) CLISTMENUITEM clmi = { sizeof(clmi) }; clmi.flags = CMIM_NAME | CMIM_ICON|CMIF_TCHAR; clmi.hIcon = LoadIcon( hInst, MAKEINTRESOURCE( fcOpt.bHideAll ? IDI_SHOW : IDI_HIDE )); - clmi.ptszName = fcOpt.bHideAll ? _T("Show all thumbs") : _T("Hide all thumbs"); + clmi.ptszName = fcOpt.bHideAll ? LPGENT("Show all thumbs") : LPGENT("Hide all thumbs"); CallService( MS_CLIST_MODIFYMENUITEM, ( WPARAM )hMainMenuItemHideAll, ( LPARAM )&clmi ); return 0; } diff --git a/plugins/FloatingContacts/src/options.cpp b/plugins/FloatingContacts/src/options.cpp index 55ee7130ab..fd1ebe6e9c 100644 --- a/plugins/FloatingContacts/src/options.cpp +++ b/plugins/FloatingContacts/src/options.cpp @@ -32,11 +32,11 @@ static char* s_rgszFontSizes[] = {"8","10","14","16","18","20","24","28"}; static const TCHAR* s_rgszFontIdDescr[FLT_FONTIDS] = { - _T("Standard contacts"), - _T("Online contacts to whom you have a different visibility"), - _T("Offline contacts"), - _T("Offline contacts to whom you have a different visibility"), - _T("Contacts which are 'not on list'"), + LPGENT("Standard contacts"), + LPGENT("Online contacts to whom you have a different visibility"), + LPGENT("Offline contacts"), + LPGENT("Offline contacts to whom you have a different visibility"), + LPGENT("Contacts which are 'not on list'"), }; static WORD s_rgwFontSameAsDefault[FLT_FONTIDS] = -- cgit v1.2.3