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 --- plugins/MirFox/src/MirandaOptions.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/MirFox/src/MirandaOptions.cpp') diff --git a/plugins/MirFox/src/MirandaOptions.cpp b/plugins/MirFox/src/MirandaOptions.cpp index b9dea187de..7ea8ece4f5 100644 --- a/plugins/MirFox/src/MirandaOptions.cpp +++ b/plugins/MirFox/src/MirandaOptions.cpp @@ -675,25 +675,25 @@ int OptInit(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = { 0 }; odp.position = -790000000; odp.hInstance = hInst; - odp.ptszTitle = LPGENT(PLUGIN_OPTIONS_NAME); - odp.ptszGroup = LPGENT("Services"); - odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR; + odp.pszTitle = LPGEN(PLUGIN_OPTIONS_NAME); + odp.pszGroup = LPGEN("Services"); + odp.flags = ODPF_BOLDGROUPS; //1 - options odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT1); - odp.ptszTab = LPGENT("Options"); + odp.pszTab = LPGEN("Options"); odp.pfnDlgProc = DlgProcOpts_Tab1; Options_AddPage(wParam, &odp); //2 - contacts odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT2); - odp.ptszTab = LPGENT("Contacts"); + odp.pszTab = LPGEN("Contacts"); odp.pfnDlgProc = DlgProcOpts_Tab2; Options_AddPage(wParam, &odp); //3 - accounts odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT3); - odp.ptszTab = LPGENT("Accounts"); + odp.pszTab = LPGEN("Accounts"); odp.pfnDlgProc = DlgProcOpts_Tab3; Options_AddPage(wParam, &odp); return 0; -- cgit v1.2.3