summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/windows.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-25 18:21:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-25 18:21:54 +0300
commit44e93bb38f0242498593fab5382908d4aa5ad36f (patch)
tree94dd359948d06aa2ffdf05b986fa1963bca32269 /protocols/IRCG/src/windows.cpp
parent88be4e928290b5c015bab331caa5a9022e6ef0cc (diff)
finally fixes #1512
Diffstat (limited to 'protocols/IRCG/src/windows.cpp')
-rw-r--r--protocols/IRCG/src/windows.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/IRCG/src/windows.cpp b/protocols/IRCG/src/windows.cpp
index 728c451996..947bc7b5c7 100644
--- a/protocols/IRCG/src/windows.cpp
+++ b/protocols/IRCG/src/windows.cpp
@@ -682,7 +682,8 @@ void CQuickDlg::OnServerCombo(CCtrlData*)
CheckDlgButton(m_hwnd, IDC_SSL_AUTO, BST_UNCHECKED);
}
- if (!mir_strcmp(pData->m_name, Translate("---- Not listed server ----"))) {
+ CMStringA szDefault(FORMAT, "---- %s ----", Translate("Not listed server"));
+ if (!mir_strcmp(pData->m_name, szDefault)) {
SendDlgItemMessage(m_hwnd, IDC_SERVER, EM_SETREADONLY, false, 0);
SendDlgItemMessage(m_hwnd, IDC_PORT, EM_SETREADONLY, false, 0);
SendDlgItemMessage(m_hwnd, IDC_PORT2, EM_SETREADONLY, false, 0);