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/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/menu.c')
-rw-r--r-- | amiga/menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/menu.c b/amiga/menu.c index 535b26d01..cb3d6d61f 100644 --- a/amiga/menu.c +++ b/amiga/menu.c @@ -964,7 +964,7 @@ static void ami_menu_item_browser_localhistory(struct Hook *hook, APTR window, s GetAttr(WINDOW_UserData, (Object *)window, (ULONG *)&gwin); if(gwin->gw->bw && gwin->gw->bw->history) - ami_history_open(gwin->gw->bw, gwin->gw->bw->history); + ami_history_open(gwin->gw, gwin->gw->bw->history); } static void ami_menu_item_browser_globalhistory(struct Hook *hook, APTR window, struct IntuiMessage *msg) |