diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-20 18:33:11 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-20 18:33:11 +0000 |
commit | 5aa746e3b0585c460c285d0b41cfda313323a5f8 (patch) | |
tree | 30e1cf8f55a915e61773237b4bb113eff0abc221 /plugins/FloatingContacts/src | |
parent | 44130e3c82ba02b17d32e92835edafdb17e25230 (diff) |
- Another portion of _T replacement (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3197 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FloatingContacts/src')
-rw-r--r-- | plugins/FloatingContacts/src/main.cpp | 6 | ||||
-rw-r--r-- | plugins/FloatingContacts/src/options.cpp | 10 |
2 files changed, 8 insertions, 8 deletions
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] =
|