diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-19 20:48:04 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-19 20:48:04 +0300 |
commit | 912e59a43a47536a0f6609d1b1bfe2a4253746cd (patch) | |
tree | 6f694d1f4d7ad19af4b4df285fba34b47939e559 /plugins/NewStory/src | |
parent | 900159ffb248bf727eb648b6da25d5f537d3c64b (diff) |
fixes #4431 (NewStory: в заголовке системной истории отсутствует количество событий)
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r-- | plugins/NewStory/src/history_dlg.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/NewStory/src/history_dlg.cpp b/plugins/NewStory/src/history_dlg.cpp index b8553dc00d..b38fd3efde 100644 --- a/plugins/NewStory/src/history_dlg.cpp +++ b/plugins/NewStory/src/history_dlg.cpp @@ -219,18 +219,10 @@ class CHistoryDlg : public CDlgBase void UpdateTitle()
{
- switch (m_hContact) {
- case INVALID_CONTACT_ID:
+ if (m_hContact == INVALID_CONTACT_ID)
SetWindowText(m_hwnd, TranslateT("Global history search"));
- break;
-
- case 0:
- SetWindowText(m_hwnd, TranslateT("System history"));
- break;
-
- default:
+ else
SetWindowText(m_hwnd, TplFormatString(TPL_TITLE, m_hContact, 0));
- }
}
void BuildBookmarksList()
|