summaryrefslogtreecommitdiff
path: root/protocols/IRCG
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG')
-rw-r--r--protocols/IRCG/src/windows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/windows.cpp b/protocols/IRCG/src/windows.cpp
index bfd6fb58e6..52b9d32726 100644
--- a/protocols/IRCG/src/windows.cpp
+++ b/protocols/IRCG/src/windows.cpp
@@ -911,7 +911,7 @@ void CManagerDlg::OnClose()
}
TCHAR window[256];
- GetDlgItemText(m_hwnd, IDC_CAPTION, window, 255);
+ GetDlgItemText(m_hwnd, IDC_CAPTION, window, SIZEOF(window));
CMString S = _T("");
TCHAR temp[1000];
for (int i = 0; i < 5; i++) {
@@ -1246,7 +1246,7 @@ void CManagerDlg::OnRadio(CCtrlData*)
void CManagerDlg::ApplyQuestion()
{
TCHAR window[256];
- GetDlgItemText(m_hwnd, IDC_CAPTION, window, 255);
+ GetDlgItemText(m_hwnd, IDC_CAPTION, window, SIZEOF(window));
TCHAR mode[3];
lstrcpy(mode, _T("+b"));