From 6dc1339d0e0328b0e5738327696cb3fe6208e1eb Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 25 Nov 2014 21:19:09 +0000 Subject: fixed window title (thx person) git-svn-id: http://svn.miranda-ng.org/main/trunk@11067 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/windows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/IRCG/src/windows.cpp b/protocols/IRCG/src/windows.cpp index 1e4593217e..eb3ecbe671 100644 --- a/protocols/IRCG/src/windows.cpp +++ b/protocols/IRCG/src/windows.cpp @@ -387,12 +387,13 @@ INT_PTR CListDlg::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) // New dialog title TCHAR newTitle[255]; - mir_sntprintf(newTitle, SIZEOF(newTitle), TranslateT("%s - Filtered - %d items"), m_title, itemCount); + mir_sntprintf(newTitle, SIZEOF(newTitle), TranslateT("%s - Filtered - %d items"), strFilterText, itemCount); SetWindowText(m_hwnd, newTitle); } else { ShowWindow(m_list.GetHwnd(), SW_SHOW); ShowWindow(m_list2.GetHwnd(), SW_HIDE); + mir_sntprintf(m_title, SIZEOF(m_title), TranslateT("Channels on server")); SetWindowText(m_hwnd, m_title); } } -- cgit v1.2.3