summaryrefslogtreecommitdiff
path: root/amiga/menu.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-16 15:51:57 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-11-16 15:51:57 +0000
commit79690c6c90f3ef1def18dacaa75312a9e2ebd468 (patch)
tree60c5a637d314a6f54c31a4634d62b94985bb4c0b /amiga/menu.c
parent456734a5c251a9b381ce59711406a872c4966d65 (diff)
downloadnetsurf-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.c2
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)