diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-25 18:21:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-25 18:21:54 +0300 |
commit | 44e93bb38f0242498593fab5382908d4aa5ad36f (patch) | |
tree | 94dd359948d06aa2ffdf05b986fa1963bca32269 /protocols/IRCG | |
parent | 88be4e928290b5c015bab331caa5a9022e6ef0cc (diff) |
finally fixes #1512
Diffstat (limited to 'protocols/IRCG')
-rw-r--r-- | protocols/IRCG/src/windows.cpp | 3 |
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);
|