aboutsummaryrefslogtreecommitdiff
path: root/c/main.c
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-05-29 00:21:48 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-05-29 00:21:48 +0200
commit6fbb54d91b78cd0f89196ea091ad786469396692 (patch)
treedda863c45429259a5547f0c84e2fda4edf087e42 /c/main.c
parent2355ab8c49b91d3d0797408d72d627870bcdd896 (diff)
downloadEpisodeBrowser-6fbb54d91b78cd0f89196ea091ad786469396692.tar.gz
Add Wiki context menu option.
It opens the Detective Conan World wiki page for the focused episode.
Diffstat (limited to 'c/main.c')
-rw-r--r--c/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/main.c b/c/main.c
index 9e56c11..78af35c 100644
--- a/c/main.c
+++ b/c/main.c
@@ -327,6 +327,7 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case IDM_TOGGLE:
case IDM_FORGET:
case IDM_LOOKUP:
+ case IDM_WIKI:
case IDM_RATE10:
case IDM_RATE9:
case IDM_RATE8:
@@ -373,6 +374,9 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
ElvRedraw();
DlvShowEpisode(lvi.lParam);
break;
+ case IDM_WIKI:
+ P("episode_data","open_episode_wiki",1,t);
+ break;
case IDM_RATE10:
PI(t+1,10) break;
goto r;