summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/options.cpp')
-rw-r--r--protocols/IRCG/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp
index 19033eabdc..dff5b71451 100644
--- a/protocols/IRCG/src/options.cpp
+++ b/protocols/IRCG/src/options.cpp
@@ -770,7 +770,7 @@ void CConnectPrefsDlg::OnApply()
int j = m_serverCombo.GetCount();
if (j != CB_ERR && j != 0) {
for (int index2 = 0; index2 < j; index2++) {
- SERVER_INFO* pData = (SERVER_INFO*)m_serverCombo.GetItemData(index2);
+ pData = (SERVER_INFO*)m_serverCombo.GetItemData(index2);
if (pData == NULL || (INT_PTR)pData == CB_ERR)
continue;