summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-23 00:12:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-23 00:12:28 +0300
commit31eb10ec55ad2c837093e50cd5d6eede0794bb2a (patch)
treec2b5eb92893b009a62b87e0bd334dbeaa1449412
parentcacf6ff767105f17a131cdee000c688bd8209af7 (diff)
memory corruption fix
-rw-r--r--src/mir_app/src/FontOptions.cpp5
1 files changed, 2 insertions, 3 deletions
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);