From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: 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 --- include/m_options.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'include/m_options.h') diff --git a/include/m_options.h b/include/m_options.h index 8ebefb40e8..50dd7e1627 100644 --- a/include/m_options.h +++ b/include/m_options.h @@ -59,28 +59,28 @@ DLUs. typedef struct { int position; //a position number, lower numbers are topmost union { - char* pszTitle; // [TRANSLATED-BY-CORE] - TCHAR* ptszTitle; + char *pszTitle; // [TRANSLATED-BY-CORE] + wchar_t *pwszTitle; }; DLGPROC pfnDlgProc; char *pszTemplate; HINSTANCE hInstance; - HICON hIcon; //v0.1.0.1+ + HICON hIcon; union { - char* pszGroup; //v0.1.0.1+ [TRANSLATED-BY-CORE] - TCHAR* ptszGroup; //v0.1.0.1+ + char *pszGroup; + wchar_t *pwszGroup; }; - int groupPosition; //v0.1.0.1+ - HICON hGroupIcon; //v0.1.0.1+ - DWORD flags; //v0.1.2.1+ + int groupPosition; + HICON hGroupIcon; + DWORD flags; union { - char* pszTab; //v0.6.0.0+ [TRANSLATED-BY-CORE] - TCHAR* ptszTab; //v0.6.0.0+ + char *pszTab; + wchar_t *pwszTab; }; union { - LPARAM dwInitParam; //v0.8.0.0+ a value to pass to lParam of WM_INITDIALOG message + LPARAM dwInitParam; // a value to pass to lParam of WM_INITDIALOG message class CDlgBase *pDialog; }; int hLangpack; -- cgit v1.2.3