summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/ircproto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/ircproto.cpp')
-rw-r--r--protocols/IRCG/src/ircproto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp
index a050bcba34..9dfd53c061 100644
--- a/protocols/IRCG/src/ircproto.cpp
+++ b/protocols/IRCG/src/ircproto.cpp
@@ -847,8 +847,8 @@ int CIrcProto::SetStatusInternal(int iNewStatus, bool bIsInternal)
dlg->Show();
HWND hwnd = dlg->GetHwnd();
SetWindowTextA(hwnd, "Miranda IRC");
- SetWindowText(GetDlgItem(hwnd, IDC_TEXT), TranslateT("Please choose an IRC-network to go online. This network will be the default."));
- SetWindowText(GetDlgItem(hwnd, IDC_CAPTION), TranslateT("Default network"));
+ SetDlgItemText(hwnd, IDC_TEXT, TranslateT("Please choose an IRC-network to go online. This network will be the default."));
+ SetDlgItemText(hwnd, IDC_CAPTION, TranslateT("Default network"));
WindowSetIcon(hwnd, IDI_MAIN);
ShowWindow(hwnd, SW_SHOW);
SetActiveWindow(hwnd);