From 31eb10ec55ad2c837093e50cd5d6eede0794bb2a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 Nov 2016 00:12:28 +0300 Subject: memory corruption fix --- src/mir_app/src/FontOptions.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/FontOptions.cpp b/src/mir_app/src/FontOptions.cpp index 5abaf1fb21..9c28e37cc9 100644 --- a/src/mir_app/src/FontOptions.cpp +++ b/src/mir_app/src/FontOptions.cpp @@ -1336,7 +1336,6 @@ static INT_PTR CALLBACK DlgProcModernOptions(HWND hwndDlg, UINT msg, WPARAM wPar return FALSE; } -INT_PTR CALLBACK AccMgrDlgProc(HWND, UINT, WPARAM, LPARAM); INT_PTR CALLBACK DlgPluginOpt(HWND, UINT, WPARAM, LPARAM); int FontsModernOptInit(WPARAM wParam, LPARAM) @@ -1363,7 +1362,7 @@ int FontsModernOptInit(WPARAM wParam, LPARAM) obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPT_FONTS); obj.pfnDlgProc = DlgProcModernOptions; CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj); - +/* obj.iSection = MODERNOPT_PAGE_ACCOUNTS; obj.iType = MODERNOPT_TYPE_SECTIONPAGE; obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPT_ACCOUNTS); @@ -1372,7 +1371,7 @@ int FontsModernOptInit(WPARAM wParam, LPARAM) obj.lpzClassicPage = "Network"; obj.lpzHelpUrl = "http://wiki.miranda-ng.org/"; CallService(MS_MODERNOPT_ADDOBJECT, wParam, (LPARAM)&obj); - +*/ obj.iSection = MODERNOPT_PAGE_MODULES; obj.iType = MODERNOPT_TYPE_SECTIONPAGE; obj.lpzTemplate = MAKEINTRESOURCEA(IDD_MODERNOPT_MODULES); -- cgit v1.2.3