diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/main.c | 4 | ||||
-rw-r--r-- | c/resource.h | 1 | ||||
-rw-r--r-- | c/resource.rc | 1 |
3 files changed, 6 insertions, 0 deletions
@@ -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; diff --git a/c/resource.h b/c/resource.h index 375de8b..6d4c090 100644 --- a/c/resource.h +++ b/c/resource.h @@ -21,6 +21,7 @@ #define IDM_TOGGLE 502 #define IDM_FORGET 503 #define IDM_LOOKUP 504 +#define IDM_WIKI 505 #define IDM_RATE10 525 #define IDM_RATE9 526 #define IDM_RATE8 527 diff --git a/c/resource.rc b/c/resource.rc index 1811634..c6e1246 100644 --- a/c/resource.rc +++ b/c/resource.rc @@ -33,6 +33,7 @@ BEGIN MENUITEM "&Toggle", IDM_TOGGLE MENUITEM "&Forget", IDM_FORGET MENUITEM "&Lookup", IDM_LOOKUP + MENUITEM "Wi&ki", IDM_WIKI POPUP "&Rate" BEGIN MENUITEM "&10", IDM_RATE10 |