diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-31 13:13:24 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-31 13:13:24 +0300 |
commit | 5c8cb41864e75d952da036a826f1f6de57465f7e (patch) | |
tree | e9006c6a9f864ca9c9b9d9bbf5f92694807c1bac /plugins | |
parent | 642682bda6c10dc1fbd06aa1b978608c0ba9a1f2 (diff) |
unused code removed
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 985f5d7fe3..5ebf7b6f2f 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -355,11 +355,6 @@ public: lf.lfWeight = FW_BOLD;
SendDlgItemMessage(m_hwnd, IDC_TOPLINE, WM_SETFONT, (WPARAM)CreateFontIndirect(&lf), 0);
- wchar_t szFormat[256], szFinal[256];
- GetDlgItemText(m_hwnd, IDC_TOPLINE, szFormat, _countof(szFormat));
- mir_snwprintf(szFinal, szFormat, Clist_GetContactDisplayName(m_hContact));
- SetDlgItemText(m_hwnd, IDC_TOPLINE, szFinal);
-
SetFocus(GetDlgItem(m_hwnd, IDNO));
SetWindowPos(m_hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
return true;
|