From 246fd1369dce903dad48730478bebbe9733ac88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Mon, 15 Aug 2022 22:24:31 +0200 Subject: Start moving data into C++. This is the first step in the process of getting rid of the SWI Prolog dependency. We'll see how it goes. --- c/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'c/main.cpp') diff --git a/c/main.cpp b/c/main.cpp index 74c99ca..14b4904 100644 --- a/c/main.cpp +++ b/c/main.cpp @@ -481,7 +481,6 @@ void HandleContextMenu(const HWND, const WORD command) if (ID_SUBGROUP(command) == IDG_CTX_RATE) { /* Process rate commands. */ Pl("episode_data","rate_episode",lvi.lParam,ID_RATING(command)); - g_elv->UpdateItem(lvi.iItem, lvi.lParam); } else { /* Process other commands. */ switch (command) { @@ -503,9 +502,8 @@ void HandleContextMenu(const HWND, const WORD command) Pl("track_episodes","update_tracked_episodes"); break; - case IDM_LOOKUP: + case IDM_LOOKUP: /* TODO: Remove IDM_LOOKUP. */ Pl("episode_data","retract_episode",lvi.lParam); - g_elv->UpdateItem(lvi.iItem, lvi.lParam); g_dlv->ShowEpisode(lvi.lParam); break; -- cgit v1.2.3