summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-15 15:47:29 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-15 15:47:29 +0000
commita697754351436b6d0066b77b0fd71aeb8c45be3d (patch)
treec2821a76e17eb003fe14b82b91ccb8b88dbe3adc /plugins/DbEditorPP/src
parent2e3b0d5d40f1113887bd67e6ba227b780c4293cd (diff)
after commit #12797 field OPTIONSDIALOGPAGE::cbSize became an atavism, and therefore removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12840 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbEditorPP/src')
-rw-r--r--plugins/DbEditorPP/src/main_window.cpp1
-rw-r--r--plugins/DbEditorPP/src/options.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/DbEditorPP/src/main_window.cpp b/plugins/DbEditorPP/src/main_window.cpp
index 7c74985b66..a9ed2f4046 100644
--- a/plugins/DbEditorPP/src/main_window.cpp
+++ b/plugins/DbEditorPP/src/main_window.cpp
@@ -556,7 +556,6 @@ INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
break;
case MENU_OPEN_OPTIONS:
OPENOPTIONSDIALOG odp = { 0 };
- odp.cbSize = sizeof(odp);
odp.pszGroup = "Database";
odp.pszPage = modFullname;
odp.pszTab = 0;
diff --git a/plugins/DbEditorPP/src/options.cpp b/plugins/DbEditorPP/src/options.cpp
index 37a4d0fa29..2662c222a5 100644
--- a/plugins/DbEditorPP/src/options.cpp
+++ b/plugins/DbEditorPP/src/options.cpp
@@ -61,7 +61,7 @@ INT_PTR CALLBACK DlgProcOpts(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
INT OptInit(WPARAM wParam, LPARAM)
{
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCE(IDD_OPTIONS);
odp.pszGroup = LPGEN("Database");