summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/input.cpp')
-rw-r--r--protocols/IRCG/src/input.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/input.cpp b/protocols/IRCG/src/input.cpp
index 9c66bffb8e..23ee8d4b55 100644
--- a/protocols/IRCG/src/input.cpp
+++ b/protocols/IRCG/src/input.cpp
@@ -777,12 +777,12 @@ static void __stdcall DoInputRequestAliasApcStub(void* _par)
SetDlgItemText(question_hWnd, IDC_CAPTION, TranslateT("Input command"));
if (infotext)
- SetWindowText(GetDlgItem(question_hWnd, IDC_TEXT), infotext);
+ SetDlgItemText(question_hWnd, IDC_TEXT, infotext);
else
- SetWindowText(GetDlgItem(question_hWnd, IDC_TEXT), TranslateT("Please enter the reply"));
+ SetDlgItemText(question_hWnd, IDC_TEXT, TranslateT("Please enter the reply"));
if (defaulttext)
- SetWindowText(GetDlgItem(question_hWnd, IDC_EDIT), defaulttext);
+ SetDlgItemText(question_hWnd, IDC_EDIT, defaulttext);
SetDlgItemText(question_hWnd, IDC_HIDDENEDIT, command.c_str());
dlg->Activate();