summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/windows.cpp
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2018-07-23 14:56:42 +0300
committerdartraiden <wowemuh@gmail.com>2018-07-23 14:57:37 +0300
commit69dc1ceb837afec8322da632b3a0184a84a3a8d4 (patch)
tree840daaec4cc4cf831e39d56fa887448e6cdd19e9 /protocols/IRCG/src/windows.cpp
parent5c9aaa12bbe0fb884f5f3ebae793002f19359acb (diff)
IRC: completely 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 6e402fcc40..430388d804 100644
--- a/protocols/IRCG/src/windows.cpp
+++ b/protocols/IRCG/src/windows.cpp
@@ -575,7 +575,8 @@ bool CQuickDlg::OnInitDialog()
m_si = new SERVER_INFO;
m_si->m_group = mir_strdup("");
- m_si->m_name = mir_strdup(Translate("---- Not listed server ----"));
+ CMStringA szName(FORMAT, "---- %s ----", Translate("Not listed server"));
+ m_si->m_name = szName.GetBuffer();
DBVARIANT dbv;
if (!m_proto->getString("ServerName", &dbv)) {