diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 15:51:57 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 15:51:57 +0000 |
commit | 79690c6c90f3ef1def18dacaa75312a9e2ebd468 (patch) | |
tree | 60c5a637d314a6f54c31a4634d62b94985bb4c0b /amiga/context_menu.c | |
parent | 456734a5c251a9b381ce59711406a872c4966d65 (diff) | |
download | netsurf-79690c6c90f3ef1def18dacaa75312a9e2ebd468.tar.gz netsurf-79690c6c90f3ef1def18dacaa75312a9e2ebd468.tar.bz2 |
Remove the global which meant we could only open one local history window.
Now we can open multiple local history windows, which avoids the confusion when requesting a local history window when one is already open.
Diffstat (limited to 'amiga/context_menu.c')
-rw-r--r-- | amiga/context_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c index 81ea701ec..795e900bf 100644 --- a/amiga/context_menu.c +++ b/amiga/context_menu.c @@ -895,7 +895,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->bw, gwin->gw->bw->history); + ami_history_open(gwin->gw, gwin->gw->bw->history); } else { |