summaryrefslogtreecommitdiff
path: root/riscos/history.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-01-20 19:08:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-01-20 19:08:34 +0000
commit0dab93fe7652dd1f1c656356a62f01d4053bb2ff (patch)
tree3b3d7bc784d3f39f2474b231e4727288144b5902 /riscos/history.c
parent10b546f7f974ac8e157426ee42d7abdd52dbf14b (diff)
downloadnetsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.gz
netsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.bz2
[project @ 2004-01-20 19:08:34 by jmb]
Allow toggling of POST support. Add new toolbar icon numbers to riscos/gui.h svn path=/import/netsurf/; revision=490
Diffstat (limited to 'riscos/history.c')
-rw-r--r--riscos/history.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/riscos/history.c b/riscos/history.c
index 42711a20c..49fbf956f 100644
--- a/riscos/history.c
+++ b/riscos/history.c
@@ -10,6 +10,7 @@
#include "oslib/colourtrans.h"
#include "oslib/font.h"
#include "oslib/wimp.h"
+#include "netsurf/utils/config.h"
#include "netsurf/riscos/gui.h"
#include "netsurf/utils/log.h"
#include "netsurf/utils/utils.h"
@@ -256,7 +257,11 @@ void ro_gui_history_click(wimp_pointer *pointer)
history_bw->history_entry = he;
wimp_create_menu(wimp_CLOSE_MENU, 0, 0);
browser_window_open_location_historical(history_bw,
- he->url, 0, 0);
+ he->url
+#ifdef WITH_POST
+ , 0, 0
+#endif
+ );
}
}