summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-16 18:46:30 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-16 18:46:30 +0000
commitd96f8c25bdab08f82e99913f1a46e0b7eb88a316 (patch)
tree6e233acd4e79f7b4d54b2e9f4e7b1f41dc4281af /plugins/TrafficCounter
parent13757ca8746dd25c01edde8f1a299500a3a3bfea (diff)
_T > TaranslateT when needed (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter')
-rw-r--r--plugins/TrafficCounter/src/statistics.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}