summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/GuiElements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HTTPServer/src/GuiElements.cpp')
-rw-r--r--plugins/HTTPServer/src/GuiElements.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp
index 67549050fc..2d6ff38bdb 100644
--- a/plugins/HTTPServer/src/GuiElements.cpp
+++ b/plugins/HTTPServer/src/GuiElements.cpp
@@ -1338,14 +1338,9 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP
// Developer : KN
/////////////////////////////////////////////////////////////////////
-int OptionsInitialize(WPARAM wParam, LPARAM /*lParam*/) {
- OPTIONSDIALOGPAGE odp;
- /*
- bWindowTextSet = FALSE;
- bUnaplyedChanges = FALSE;
- */
- ZeroMemory(&odp, sizeof(odp));
- odp.cbSize = sizeof(odp);
+int OptionsInitialize(WPARAM wParam, LPARAM /*lParam*/)
+{
+ OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.position = 900000000;
odp.hInstance = hInstance;
odp.pszTemplate = MAKEINTRESOURCE(IDD_OPT_HTTP_SERVER);
@@ -1357,9 +1352,6 @@ int OptionsInitialize(WPARAM wParam, LPARAM /*lParam*/) {
return 0;
}
-
-
-
/////////////////////////////////////////////////////////////////////
// Member Function : MainThreadCallback
// Type : Global