From 5c8cb41864e75d952da036a826f1f6de57465f7e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 Mar 2024 13:13:24 +0300 Subject: unused code removed --- plugins/NewStory/src/history_control.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugins') 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; -- cgit v1.2.3