From d96f8c25bdab08f82e99913f1a46e0b7eb88a316 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Wed, 16 Jan 2013 18:46:30 +0000 Subject: _T > TaranslateT when needed (patch from person) git-svn-id: http://svn.miranda-ng.org/main/trunk@3120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TrafficCounter/src/statistics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TrafficCounter/src') diff --git a/plugins/TrafficCounter/src/statistics.c b/plugins/TrafficCounter/src/statistics.c index 14a121f4bd..03e30f2e90 100644 --- a/plugins/TrafficCounter/src/statistics.c +++ b/plugins/TrafficCounter/src/statistics.c @@ -140,7 +140,7 @@ INT_PTR CALLBACK DlgProcOptStatistics(HWND hwndDlg, UINT msg, WPARAM wParam, LPA if (IDOK != MessageBox(hwndDlg, TranslateT("Now traffic statistics for selected accounts will be cleared.\nContinue?"), - _T("Traffic counter"), + TranslateT("Traffic counter"), MB_OKCANCEL | MB_ICONWARNING)) break; GetLocalTime(&stNow); @@ -336,7 +336,7 @@ void Stat_ReadFile(BYTE n) ReadFile(ProtoList[n].hFile, &ProtoList[n].AllStatistics[0], sizeof(HOURLYSTATS)*ProtoList[n].NumberOfRecords, &BytesRead, NULL); if (!BytesRead) { - MessageBox(TrafficHwnd, TranslateT("Couldn't read statistics file"), _T("Traffic Counter"), MB_OK); + MessageBox(TrafficHwnd, TranslateT("Couldn't read statistics file"), TranslateT("Traffic Counter"), MB_OK); return; } } -- cgit v1.2.3