From 0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sun, 14 Dec 2014 04:44:35 +0000 Subject: GetWindowText(GetDlgItem(...)) -> GetDlgItemText(...) git-svn-id: http://svn.miranda-ng.org/main/trunk@11390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Exchange/src/dlg_handlers.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Exchange') diff --git a/plugins/Exchange/src/dlg_handlers.cpp b/plugins/Exchange/src/dlg_handlers.cpp index e690c9d156..52b11dabd9 100644 --- a/plugins/Exchange/src/dlg_handlers.cpp +++ b/plugins/Exchange/src/dlg_handlers.cpp @@ -111,16 +111,16 @@ INT_PTR CALLBACK DlgProcOptions(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara db_set_b(NULL, ModuleName, "Check", IsDlgButtonChecked(hWnd, IDC_CHECK_EMAILS)); TCHAR buffer[4096]; - GetWindowText(GetDlgItem(hWnd, IDC_USER_EDIT), buffer, SIZEOF(buffer)); + GetDlgItemText(hWnd, IDC_USER_EDIT, buffer, SIZEOF(buffer)); db_set_ts(NULL, ModuleName, "Username", buffer); - GetWindowText(GetDlgItem(hWnd, IDC_PASSWORD_EDIT), buffer, SIZEOF(buffer)); + GetDlgItemText(hWnd, IDC_PASSWORD_EDIT, buffer, SIZEOF(buffer)); db_set_ts(NULL, ModuleName, "Password", buffer); - GetWindowText(GetDlgItem(hWnd, IDC_SERVER_EDIT), buffer, SIZEOF(buffer)); + GetDlgItemText(hWnd, IDC_SERVER_EDIT, buffer, SIZEOF(buffer)); db_set_ts(NULL, ModuleName, "Server", buffer); - GetWindowText(GetDlgItem(hWnd, IDC_PORT_EDIT), buffer, SIZEOF(buffer)); + GetDlgItemText(hWnd, IDC_PORT_EDIT, buffer, SIZEOF(buffer)); db_set_dw(NULL, ModuleName, "Port", GetDlgItemInt(hWnd,IDC_PORT_EDIT,NULL,FALSE)); db_set_dw(NULL, ModuleName, "Interval", GetDlgItemInt(hWnd,IDC_INTERVAL_EDIT,NULL,FALSE)); -- cgit v1.2.3