summaryrefslogtreecommitdiff
path: root/include/deprecated/m_errors.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
commite4709ec279fe4e531d33154c3b833a715cf56fbc (patch)
tree4f4183bc7486783e0fd6f6c10f5ce370c01468a8 /include/deprecated/m_errors.h
parentc70673812db722c68caef569e2c299f5462b9c13 (diff)
removing TCHAR + WCHAR from headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/deprecated/m_errors.h')
-rw-r--r--include/deprecated/m_errors.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/deprecated/m_errors.h b/include/deprecated/m_errors.h
index ab2a37626d..a227d64f8b 100644
--- a/include/deprecated/m_errors.h
+++ b/include/deprecated/m_errors.h
@@ -60,9 +60,9 @@ typedef struct
char *name;
union {
- TCHAR *ptszTitle;
+ wchar_t *ptszTitle;
char *pszTitle;
- WCHAR *pwszTitle;
+ wchar_t *pwszTitle;
};
} MIRANDAERROR_TYPE;
@@ -74,9 +74,9 @@ typedef struct
char *type;
union {
- TCHAR *ptszModuleTitle;
+ wchar_t *ptszModuleTitle;
char *pszModuleTitle;
- WCHAR *pwszModuleTitle;
+ wchar_t *pwszModuleTitle;
};
int buttons;
@@ -88,14 +88,14 @@ typedef struct
// information itself
HANDLE hContact;
union {
- TCHAR *ptszTitle;
+ wchar_t *ptszTitle;
char *pszTitle;
- WCHAR *pwszTitle;
+ wchar_t *pwszTitle;
};
union {
- TCHAR *ptszText;
+ wchar_t *ptszText;
char *pszText;
- WCHAR *pwszText;
+ wchar_t *pwszText;
};
// filled by core and may be used in handlers.
@@ -112,9 +112,9 @@ typedef struct
HANDLE hIcolibIcon;
union {
- TCHAR *ptszTitle;
+ wchar_t *ptszTitle;
char *pszTitle;
- WCHAR *pwszTitle;
+ wchar_t *pwszTitle;
};
} MIRANDAERROR_HANDLER;
@@ -130,7 +130,7 @@ typedef struct
#define DEFVAL(x)
#endif
- static __forceinline void mir_ReportError(HANDLE hContact, TCHAR *ptszModuleTitle, char *pszType, TCHAR *ptszText, TCHAR *ptszTitle DEFVAL(NULL))
+ static __forceinline void mir_ReportError(HANDLE hContact, wchar_t *ptszModuleTitle, char *pszType, wchar_t *ptszText, wchar_t *ptszTitle DEFVAL(NULL))
{
MIRANDAERROR err = {0};
err.cbSize = sizeof(err);