aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/main.cpp')
-rw-r--r--c/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/main.cpp b/c/main.cpp
index 984eb6b..144d151 100644
--- a/c/main.cpp
+++ b/c/main.cpp
@@ -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: