diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-25 10:31:04 +0000 |
commit | 8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch) | |
tree | 94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/HistoryStats/src/utils.h | |
parent | 1e273e28d89b5838e3d0f0cafac9676577cb71ce (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 'plugins/HistoryStats/src/utils.h')
-rw-r--r-- | plugins/HistoryStats/src/utils.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/HistoryStats/src/utils.h b/plugins/HistoryStats/src/utils.h index 6351f8d97f..834b154ccb 100644 --- a/plugins/HistoryStats/src/utils.h +++ b/plugins/HistoryStats/src/utils.h @@ -9,12 +9,12 @@ namespace utils // time formatting
ext::string timestampToString(time_t value, const TCHAR* format);
ext::string tmStructToString(const tm& value, const TCHAR* format);
- inline ext::string timestampToDateTime(DWORD value) { return timestampToString(value, _T("%c")); }
- inline ext::string timestampToDate(DWORD value) { return timestampToString(value, _T("%x")); }
- inline ext::string timestampToTime(DWORD value) { return timestampToString(value, _T("%X")); }
+ inline ext::string timestampToDateTime(DWORD value) { return timestampToString(value, L"%c"); }
+ inline ext::string timestampToDate(DWORD value) { return timestampToString(value, L"%x"); }
+ inline ext::string timestampToTime(DWORD value) { return timestampToString(value, L"%X"); }
ext::string durationToString(DWORD value);
DWORD parseDate(const ext::string& date);
- inline ext::string formatDate(time_t timeValue) { return timestampToString(timeValue, _T("%Y-%m-%d")); }
+ inline ext::string formatDate(time_t timeValue) { return timestampToString(timeValue, L"%Y-%m-%d"); }
// number formatting
ext::string intToString(int value);
@@ -32,7 +32,7 @@ namespace utils inline ext::string replaceAll(ext::string text, const TCHAR* find, const TCHAR* replace) { replaceAllInPlace(text, find, replace); return text; }
inline ext::string htmlEscape(ext::string text) { htmlEscapeInPlace(text); return text; }
const TCHAR* stripPrefix(const TCHAR* szPrefix, const TCHAR* szText);
- ext::string replaceVariables(const ext::string& strFormat, time_t timeValue, const TCHAR* szNick = _T(""));
+ ext::string replaceVariables(const ext::string& strFormat, time_t timeValue, const TCHAR* szNick = L"");
// case conversion
ext::string toLowerCase(const ext::string& text);
|