summaryrefslogtreecommitdiff
path: root/protocols/IRCG
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 04:44:35 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-12-14 04:44:35 +0000
commit0ff28f7c5ffaa46ed5b21bee965e66bb9108dfe2 (patch)
treeb81fde138c27395492788b527b7e781a85c44c6f /protocols/IRCG
parent850259c4eab1a77d973af51cd3bd62fbbd09f591 (diff)
GetWindowText(GetDlgItem(...)) -> GetDlgItemText(...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG')
-rw-r--r--protocols/IRCG/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp
index 5fa543c8d1..f07846f49f 100644
--- a/protocols/IRCG/src/options.cpp
+++ b/protocols/IRCG/src/options.cpp
@@ -1247,8 +1247,8 @@ void CAddIgnoreDlg::OnOk(CCtrlButton*)
if (IsDlgButtonChecked(m_hwnd, IDC_C) == BST_CHECKED) flags += 'c';
if (IsDlgButtonChecked(m_hwnd, IDC_M) == BST_CHECKED) flags += 'm';
- GetWindowText(GetDlgItem(m_hwnd, IDC_MASK), szMask, SIZEOF(szMask));
- GetWindowText(GetDlgItem(m_hwnd, IDC_NETWORK), szNetwork, SIZEOF(szNetwork));
+ GetDlgItemText(m_hwnd, IDC_MASK, szMask, SIZEOF(szMask));
+ GetDlgItemText(m_hwnd, IDC_NETWORK, szNetwork, SIZEOF(szNetwork));
CMString Mask = GetWord(szMask, 0);
if (Mask.GetLength() != 0) {