From ba9a049d7bca2e6fb761349d96d527cfb43f3b53 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 21 Nov 2014 23:58:56 +0000 Subject: Simplify ami_history_open API and use correct call to get history object. --- amiga/context_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/context_menu.c') diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 682df2134..500f1895a 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -892,7 +892,7 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved case CMID_HISTORY: if(userdata == NULL) { - ami_history_open(gwin->gw, browser_window_get_history(gwin->gw->bw)); + ami_history_open(gwin->gw); } else { -- cgit v1.2.3