From 019fad8bdbda5599e5f19bc50cd8ebac6be899e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 30 Jul 2022 19:13:22 +0200 Subject: Simplify EpisodeListView::UpdateItem, remove m_lviFocus. --- c/episodelistview.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'c/episodelistview.h') diff --git a/c/episodelistview.h b/c/episodelistview.h index 8747f6b..8a96096 100644 --- a/c/episodelistview.h +++ b/c/episodelistview.h @@ -24,11 +24,10 @@ struct EpisodeListView : public ListView void ShowFocus(); void Sort(); void Update(); - void UpdateItem(const LVITEM* pLvi); + void UpdateItem(int iItem, LPARAM lParam); LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) override; private: int m_iSort; - LVITEM m_lviFocus; static int CALLBACK SortProc(LPARAM lParam1, LPARAM lParam2, LPARAM lExtra); }; -- cgit v1.2.3