diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-25 21:19:09 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-11-25 21:19:09 +0000 |
commit | 6dc1339d0e0328b0e5738327696cb3fe6208e1eb (patch) | |
tree | ca30b204fcbc7109d0bac9f9df8ae4276ea75934 /protocols/IRCG/src/windows.cpp | |
parent | f9433b0077d066fb7abbcd5b33413522fa4343c2 (diff) |
fixed window title (thx person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11067 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/windows.cpp')
-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 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);
}
}
|