summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-04-19 11:07:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-04-19 11:07:42 +0000
commitdc85ddb0a82af725d843ecce7fb0183b7fd05352 (patch)
tree7887836411a6a7be8e523ef0b71a31ac062f270f /riscos
parent60c90f89b8e24c9e21703a0b0942642e22325acc (diff)
downloadnetsurf-dc85ddb0a82af725d843ecce7fb0183b7fd05352.tar.gz
netsurf-dc85ddb0a82af725d843ecce7fb0183b7fd05352.tar.bz2
Launch redirects to unsupported URLs in other applications.
svn path=/trunk/netsurf/; revision=4098
Diffstat (limited to 'riscos')
-rw-r--r--riscos/plugin.c2
-rw-r--r--riscos/theme_install.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/riscos/plugin.c b/riscos/plugin.c
index 19f0f106f..c08397de4 100644
--- a/riscos/plugin.c
+++ b/riscos/plugin.c
@@ -1693,6 +1693,8 @@ void plugin_stream_callback(content_msg msg, struct content *c,
plugin_send_stream_new(p);
break;
+ case CONTENT_MSG_LAUNCH:
+ /* Fall through */
case CONTENT_MSG_ERROR:
/* The plugin we were fetching may have been
* redirected, in that case, the object pointers
diff --git a/riscos/theme_install.c b/riscos/theme_install.c
index 4fa77a687..7f151fd94 100644
--- a/riscos/theme_install.c
+++ b/riscos/theme_install.c
@@ -128,6 +128,7 @@ void theme_install_callback(content_msg msg, struct content *c,
case CONTENT_MSG_REFORMAT:
case CONTENT_MSG_REDRAW:
case CONTENT_MSG_NEWPTR:
+ case CONTENT_MSG_LAUNCH:
case CONTENT_MSG_AUTH:
default:
assert(0);