From 3f21e7a40e4e5fc310e28557ef6e1133586aab99 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 Jun 2003 03:12:28 +0000 Subject: [project @ 2003-06-06 03:12:28 by jmb] Begin to munge s into s svn path=/import/netsurf/; revision=171 --- riscos/plugin.c | 6 +++--- riscos/plugin.h | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'riscos') diff --git a/riscos/plugin.c b/riscos/plugin.c index de4b5921a..28d3fc9dd 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -1,5 +1,5 @@ /** - * $Id: plugin.c,v 1.5 2003/06/06 02:30:00 jmb Exp $ + * $Id: plugin.c,v 1.6 2003/06/06 03:12:28 jmb Exp $ */ #include @@ -69,9 +69,9 @@ void plugin_decode(struct content* content, char* url, struct box* box, /* no data so try using classid instead */ - po->data = strdup(po->classid); + if (po->classid != NULL) { - if (po->data != NULL) { + po->data = strdup(po->classid); if (strnicmp(po->data,"clsid:",6) == 0) { diff --git a/riscos/plugin.h b/riscos/plugin.h index 9f054100a..824141337 100644 --- a/riscos/plugin.h +++ b/riscos/plugin.h @@ -1,5 +1,5 @@ /** - * $Id: plugin.h,v 1.2 2003/06/06 02:08:56 jmb Exp $ + * $Id: plugin.h,v 1.3 2003/06/06 03:12:28 jmb Exp $ */ #ifndef _NETSURF_RISCOS_PLUGIN_H_ @@ -8,7 +8,6 @@ struct plugin_object { char* data; - char* src; char* type; char* codetype; char* codebase; -- cgit v1.2.3