diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/TipperYM/src/str_utils.h | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (diff) |
less TCHARs:
- TCHAR is replaced with wchar_t everywhere;
- LPGENT replaced with either LPGENW or LPGEN;
- fixes for ANSI plugins that improperly used _t functions;
- TCHAR *t removed from MAllStrings;
- ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz*
git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src/str_utils.h')
-rw-r--r-- | plugins/TipperYM/src/str_utils.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/TipperYM/src/str_utils.h b/plugins/TipperYM/src/str_utils.h index 26fbb613fa..4beca4e51b 100644 --- a/plugins/TipperYM/src/str_utils.h +++ b/plugins/TipperYM/src/str_utils.h @@ -32,14 +32,14 @@ bool w2utf(const wchar_t *ws, char *buff, int bufflen); bool a2utf(const char *as, char *buff, int bufflen);
bool utf2a(const char *ws, char *buff, int bufflen);
-bool t2w(const TCHAR *ts, wchar_t *buff, int bufflen);
-bool w2t(const wchar_t *ws, TCHAR *buff, int bufflen);
+bool t2w(const wchar_t *ts, wchar_t *buff, int bufflen);
+bool w2t(const wchar_t *ws, wchar_t *buff, int bufflen);
-bool t2a(const TCHAR *ts, char *buff, int bufflen);
-bool a2t(const char *as, TCHAR *buff, int bufflen);
+bool t2a(const wchar_t *ts, char *buff, int bufflen);
+bool a2t(const char *as, wchar_t *buff, int bufflen);
-bool t2utf(const TCHAR *ts, char *buff, int bufflen);
-bool utf2t(const char *us, TCHAR *buff, int bufflen);
+bool t2utf(const wchar_t *ts, char *buff, int bufflen);
+bool utf2t(const char *us, wchar_t *buff, int bufflen);
// remember to free return value
wchar_t *a2w(const char *as);
@@ -51,16 +51,16 @@ char *w2utf(const wchar_t *ws); char *utf2a(const char *us);
char *a2utf(const char *as);
-wchar_t *t2w(const TCHAR *ts);
-TCHAR *w2t(const wchar_t *ws);
+wchar_t *t2w(const wchar_t *ts);
+wchar_t *w2t(const wchar_t *ws);
-TCHAR *utf2t(const char *us);
-char *t2utf(const TCHAR *ts);
+wchar_t *utf2t(const char *us);
+char *t2utf(const wchar_t *ts);
-char *t2a(const TCHAR *ts);
-TCHAR *a2t(const char *as);
+char *t2a(const wchar_t *ts);
+wchar_t *a2t(const char *as);
-TCHAR *myfgets(TCHAR *Buf, int MaxCount, FILE *File);
+wchar_t *myfgets(wchar_t *Buf, int MaxCount, FILE *File);
#endif
|