diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-30 19:13:22 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-30 19:13:22 +0200 |
commit | 019fad8bdbda5599e5f19bc50cd8ebac6be899e4 (patch) | |
tree | 855e06cfa5b6bd90c7261270350fa50dc6570bba /c/main.cpp | |
parent | 9003b747e6d330bac33c30018b4575e2ecfd95eb (diff) | |
download | EpisodeBrowser-019fad8bdbda5599e5f19bc50cd8ebac6be899e4.tar.gz |
Simplify EpisodeListView::UpdateItem, remove m_lviFocus.
Diffstat (limited to 'c/main.cpp')
-rw-r--r-- | c/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -420,7 +420,7 @@ void WndProcContextMenu(const HWND, unsigned short wCommand) /* Process rate commands. */ if (ID_SUBGROUP(wCommand) == IDG_CTX_RATE) { Pl("episode_data","rate_episode",lvi.lParam,ID_RATING(wCommand)); - g_pElv->UpdateItem(&lvi); + g_pElv->UpdateItem(lvi.iItem, lvi.lParam); continue; } @@ -442,7 +442,7 @@ void WndProcContextMenu(const HWND, unsigned short wCommand) break; case IDM_LOOKUP: Pl("episode_data","retract_episode",lvi.lParam); - g_pElv->UpdateItem(&lvi); + g_pElv->UpdateItem(lvi.iItem, lvi.lParam); g_pDlv->ShowEpisode(lvi.lParam); break; case IDM_WIKI: |