summaryrefslogtreecommitdiff
path: root/riscos/url.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-01-05 02:10:59 +0000
commit62245d13ec60e3c0fc78221f0a8f754f33c2b6a1 (patch)
tree5bbe5b8a63941c2d3b7f71fc53ceedcbc1d92cd6 /riscos/url.c
parent91e767cdfa11225dd370471892000e107bb06726 (diff)
downloadnetsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.gz
netsurf-62245d13ec60e3c0fc78221f0a8f754f33c2b6a1.tar.bz2
[project @ 2004-01-05 02:10:59 by jmb]
Add ability to turn off browser features in build. This may be useful when hunting down bugs. svn path=/import/netsurf/; revision=480
Diffstat (limited to 'riscos/url.c')
-rw-r--r--riscos/url.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/riscos/url.c b/riscos/url.c
index 011eb9e37..0eba47891 100644
--- a/riscos/url.c
+++ b/riscos/url.c
@@ -10,6 +10,7 @@
#include <string.h>
#include "oslib/inetsuite.h"
#include "oslib/wimp.h"
+#include "netsurf/utils/config.h"
#include "netsurf/desktop/browser.h"
#include "netsurf/riscos/theme.h"
#include "netsurf/desktop/gui.h"
@@ -99,7 +100,11 @@ void ro_url_message_received(wimp_message* message)
/* create new browser window */
bw = create_browser_window(browser_TITLE | browser_TOOLBAR
- | browser_SCROLL_X_ALWAYS | browser_SCROLL_Y_ALWAYS, 640, 480, NULL);
+ | browser_SCROLL_X_ALWAYS | browser_SCROLL_Y_ALWAYS, 640, 480
+#ifdef WITH_FRAMES
+ , NULL
+#endif
+ );
gui_window_show(bw->window);