From e4709ec279fe4e531d33154c3b833a715cf56fbc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jul 2016 16:24:08 +0000 Subject: removing TCHAR + WCHAR from headers git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/deprecated/m_errors.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'include/deprecated') 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); -- cgit v1.2.3