summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/ui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
commit8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch)
tree94ef8927e12043ed6dcc15e1e640d68a8add520e /protocols/Twitter/src/ui.cpp
parent1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff)
hello, Unix.
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/ui.cpp')
-rw-r--r--protocols/Twitter/src/ui.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/protocols/Twitter/src/ui.cpp b/protocols/Twitter/src/ui.cpp
index c042e43aa9..f82017d613 100644
--- a/protocols/Twitter/src/ui.cpp
+++ b/protocols/Twitter/src/ui.cpp
@@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "twitter.h"
static const TCHAR *sites[] = {
- _T("https://api.twitter.com/"),
- _T("https://identi.ca/api/")
+ L"https://api.twitter.com/",
+ L"https://identi.ca/api/"
};
INT_PTR CALLBACK first_run_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
@@ -109,11 +109,11 @@ INT_PTR CALLBACK tweet_proc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPara
proto = reinterpret_cast<TwitterProto*>(lParam);
SetWindowLongPtr(hwndDlg, GWLP_USERDATA, lParam);
SendDlgItemMessage(hwndDlg, IDC_TWEETMSG, EM_LIMITTEXT, 140, 0);
- SetDlgItemText(hwndDlg, IDC_CHARACTERS, _T("140"));
+ SetDlgItemText(hwndDlg, IDC_CHARACTERS, L"140");
// Set window title
TCHAR title[512];
- mir_sntprintf(title, _T("Send Tweet for %s"), proto->m_tszUserName);
+ mir_sntprintf(title, L"Send Tweet for %s", proto->m_tszUserName);
SetWindowText(hwndDlg, title);
return true;
@@ -299,17 +299,17 @@ namespace popup_options
TCHAR *text;
} const quotes[] = {
{
- _T("Dorothy Parker"), _T("If, with the literate, I am\n")
- _T("Impelled to try an epigram,\n")
- _T("I never seek to take the credit;\n")
- _T("We all assume that Oscar said it.") },
- { _T("Steve Ballmer"), _T("I have never, honestly, thrown a chair in my life.") },
- { _T("James Joyce"), _T("I think I would know Nora's fart anywhere. I think ")
- _T("I could pick hers out in a roomful of farting women.") },
- { _T("Brooke Shields"), _T("Smoking kills. If you're killed, you've lost a very ")
- _T("important part of your life.") },
- { _T("Yogi Berra"), _T("Always go to other peoples' funerals, otherwise ")
- _T("they won't go to yours.") },
+ L"Dorothy Parker", L"If, with the literate, I am\n"
+ L"Impelled to try an epigram,\n"
+ L"I never seek to take the credit;\n"
+ L"We all assume that Oscar said it." },
+ { L"Steve Ballmer", L"I have never, honestly, thrown a chair in my life." },
+ { L"James Joyce", L"I think I would know Nora's fart anywhere. I think "
+ L"I could pick hers out in a roomful of farting women." },
+ { L"Brooke Shields", L"Smoking kills. If you're killed, you've lost a very "
+ L"important part of your life." },
+ { L"Yogi Berra", L"Always go to other peoples' funerals, otherwise "
+ L"they won't go to yours." },
};
static void preview(HWND hwndDlg)