From 44130e3c82ba02b17d32e92835edafdb17e25230 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sun, 20 Jan 2013 18:26:53 +0000 Subject: - Another portion of _T replacement (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3196 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/GTalkExt/src/menu.cpp | 2 +- protocols/GTalkExt/src/notifications.cpp | 2 +- protocols/GTalkExt/src/options.cpp | 14 +++++++------- protocols/GTalkExt/src/options.h | 6 +++--- protocols/GTalkExt/src/tipper_items.cpp | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'protocols/GTalkExt') diff --git a/protocols/GTalkExt/src/menu.cpp b/protocols/GTalkExt/src/menu.cpp index bf81e0f5dd..0f04ae8d5c 100644 --- a/protocols/GTalkExt/src/menu.cpp +++ b/protocols/GTalkExt/src/menu.cpp @@ -26,7 +26,7 @@ #include "inbox.h" static const LPSTR MS_GTALKEXT_OPENMAILBOX = SHORT_PLUGIN_NAME "/OpenMailbox"; -static const LPTSTR _T(OPEN_MAILBOX_ITEM_CAPTION) = _T("Open mailbox"); +static const LPTSTR _T(OPEN_MAILBOX_ITEM_CAPTION) = LPGENT("Open mailbox"); HANDLE hOpenMailboxService = 0; HANDLE hOpenMailboxMenuItem = 0; diff --git a/protocols/GTalkExt/src/notifications.cpp b/protocols/GTalkExt/src/notifications.cpp index 9a1819a7f1..e9252aad7a 100644 --- a/protocols/GTalkExt/src/notifications.cpp +++ b/protocols/GTalkExt/src/notifications.cpp @@ -27,7 +27,7 @@ #include "inbox.h" static const LPTSTR TEMP_WINDOW_CLASS_NAME = _T("AntiShittyFullscreenDetectionWindowClass"); -static const LPTSTR _T(NUMBER_EMAILS_MESSAGE) = _T("You've received an e-mail\n%s unread threads"); +static const LPTSTR _T(NUMBER_EMAILS_MESSAGE) = LPGENT("You've received an e-mail\n%s unread threads"); static const LPTSTR PLUGIN_DATA_PROP_NAME = _T("{DB5CE833-C3AC-4851-831C-DDEBD9FA0508}"); static const LPTSTR EVT_DELETED_HOOK_PROP_NAME = _T("{87CBD2BC-8806-413C-8FD5-1D61ABCA4AF8}"); diff --git a/protocols/GTalkExt/src/options.cpp b/protocols/GTalkExt/src/options.cpp index 9bbd16a8f2..7f9291cd8f 100644 --- a/protocols/GTalkExt/src/options.cpp +++ b/protocols/GTalkExt/src/options.cpp @@ -25,8 +25,8 @@ static const LPTSTR ACCOUNT_PROP_NAME = _T("{BF447EBA-27AE-4DB7-893C-FC42A3F74D75}"); static const LPTSTR DIALOG_INITIALIZED_PROP_NAME = _T("{5EE59FE5-679A-4A29-B0A1-03092E7AC20E}"); -static const LPTSTR POPUPS_OPTIONS_GROUP = _T("PopUps"); -static const LPTSTR NETWORK_OPTIONS_GROUP = _T("Network"); +static const LPTSTR POPUPS_OPTIONS_GROUP = LPGENT("PopUps"); +static const LPTSTR NETWORK_OPTIONS_GROUP = LPGENT("Network"); static const LPSTR NOTIFY_SETTINGS_FROM_MOD_NAME = SHORT_PLUGIN_NAME ".NotifySettingsFromModName"; @@ -34,11 +34,11 @@ static const LPTSTR TEST_LETTER_SUBJECT = _T("Why C sucks"); static const LPTSTR TEST_LETTER_INBOX = _T("brickstrace@gmail.com [1]"); static const LPTSTR TEST_LETTER_SENDER = _T(" bems \n"); static const LPTSTR TEST_LETTER_SNIP = - _T("* Primitive type system\n") - _T("* No overloading\n") - _T("* Limited possibility of data abstraction, polymorphism, subtyping and code reuse\n") - _T("* No metaprogramming except preprocessor macros\n") - _T("* No exceptions"); + LPGENT("* Primitive type system\n") + LPGENT("* No overloading\n") + LPGENT("* Limited possibility of data abstraction, polymorphism, subtyping and code reuse\n") + LPGENT("* No metaprogramming except preprocessor macros\n") + LPGENT("* No exceptions"); HANDLE hOptionsHook = 0; extern HINSTANCE hInst; diff --git a/protocols/GTalkExt/src/options.h b/protocols/GTalkExt/src/options.h index bc720e22ed..2b0c215dd3 100644 --- a/protocols/GTalkExt/src/options.h +++ b/protocols/GTalkExt/src/options.h @@ -23,9 +23,9 @@ #include "resources.h" -static const LPTSTR MAIL_NOTIFICATIONS = _T("GMail notifications"); -static const LPTSTR FULL_NOTIFICATION_FORMAT = _T("subject\n %s\nfrom\n%s\n%s\n"); -static const LPTSTR SHORT_NOTIFICATION_FORMAT = _T("subject\n %s\nfrom\n%s"); +static const LPTSTR MAIL_NOTIFICATIONS = LPGENT("GMail notifications"); +static const LPTSTR FULL_NOTIFICATION_FORMAT = LPGENT("subject\n %s\nfrom\n%s\n%s\n"); +static const LPTSTR SHORT_NOTIFICATION_FORMAT = LPGENT("subject\n %s\nfrom\n%s"); static const LPSTR PSEUDOCONTACT_LINK = "GTalkExtNotifyContact"; static const LPSTR PSEUDOCONTACT_FLAG = "IsNotifyContact"; diff --git a/protocols/GTalkExt/src/tipper_items.cpp b/protocols/GTalkExt/src/tipper_items.cpp index f09be10b32..5483f82aa3 100644 --- a/protocols/GTalkExt/src/tipper_items.cpp +++ b/protocols/GTalkExt/src/tipper_items.cpp @@ -42,7 +42,7 @@ static LPSTR TipperItemProps[MAX_TIPPER_ITEM_PROP] = { static const LPSTR TIPPER_ITEMS_MOD_NAME = "Tipper_Items"; static const LPSTR TIPPER_ITEM_COUNT_SETTING = "DINumValues"; static const LPTSTR UNREAD_THREADS_RAW = _T("%raw:") _T(SHORT_PLUGIN_NAME) _T("/UnreadThreads%"); -static const LPTSTR UNREAD_THREADS_LABEL = _T("Unread threads:"); +static const LPTSTR UNREAD_THREADS_LABEL = LPGENT("Unread threads:"); void ShiftTipperSettings(LPSTR buff, int count, LPSTR format) { -- cgit v1.2.3