summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-03 00:25:52 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-03 00:25:52 +0000
commitb150d14b2877e02aa2ec3fef3c338e6a832e9691 (patch)
treebaa88ea131f0b6ad37c7a7dbaf244204a4348ceb
parent848fdca627f7f36dd688b3c24315787badf86f59 (diff)
downloadnetsurf-b150d14b2877e02aa2ec3fef3c338e6a832e9691.tar.gz
On wrong branch, sorry.chris/non-ascii-file-upload
Revert "Attempt fix/workaround of bug #2034" This reverts commit 848fdca627f7f36dd688b3c24315787badf86f59.
-rw-r--r--amiga/menu.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/amiga/menu.c b/amiga/menu.c
index 59d244112..a9185e823 100644
--- a/amiga/menu.c
+++ b/amiga/menu.c
@@ -61,7 +61,6 @@
#include "desktop/hotlist.h"
#include "desktop/browser_private.h"
#include "desktop/gui.h"
-#include "desktop/local_history.h"
#include "desktop/textinput.h"
#include "utils/messages.h"
#include "utils/schedule.h"
@@ -716,7 +715,6 @@ static void ami_menu_item_project_newtab(struct Hook *hook, APTR window, struct
struct gui_window_2 *gwin;
nsurl *url;
nserror error;
- struct browser_window *bw = NULL;
GetAttr(WINDOW_UserData, (Object *)window, (ULONG *)&gwin);
@@ -728,16 +726,12 @@ static void ami_menu_item_project_newtab(struct Hook *hook, APTR window, struct
url,
NULL,
gwin->bw,
- &bw);
+ NULL);
nsurl_unref(url);
}
if (error != NSERROR_OK) {
warn_user(messages_get_errorcode(error), 0);
- return;
}
-
- history_destroy(bw->history);
- bw->history = history_create();
}
static void ami_menu_item_project_open(struct Hook *hook, APTR window, struct IntuiMessage *msg)