aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-15 22:24:31 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-15 22:24:31 +0200
commit246fd1369dce903dad48730478bebbe9733ac88e (patch)
tree50a6dc779453ef430a13fd13c9ca21a4d2c3f2a1 /c/main.cpp
parent8877627ee3fcd5a8f0ce2fcccec7688973e9cb2d (diff)
downloadEpisodeBrowser-246fd1369dce903dad48730478bebbe9733ac88e.tar.gz
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.
Diffstat (limited to 'c/main.cpp')
-rw-r--r--c/main.cpp4
1 files changed, 1 insertions, 3 deletions
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;