From 44e93bb38f0242498593fab5382908d4aa5ad36f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 25 Jul 2018 18:21:54 +0300 Subject: finally fixes #1512 --- protocols/IRCG/src/windows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/IRCG/src') 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); -- cgit v1.2.3