diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-06-06 03:12:28 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-06-06 03:12:28 +0000 |
commit | 3f21e7a40e4e5fc310e28557ef6e1133586aab99 (patch) | |
tree | fe00bf6a5156b95e5e41b0a37510c64ae62f99d8 /riscos | |
parent | 3623d1f46f8c6b1e274a1af30de6e1b16f48c1d8 (diff) | |
download | netsurf-3f21e7a40e4e5fc310e28557ef6e1133586aab99.tar.gz netsurf-3f21e7a40e4e5fc310e28557ef6e1133586aab99.tar.bz2 |
[project @ 2003-06-06 03:12:28 by jmb]
Begin to munge <embed>s into <object>s
svn path=/import/netsurf/; revision=171
Diffstat (limited to 'riscos')
-rw-r--r-- | riscos/plugin.c | 6 | ||||
-rw-r--r-- | riscos/plugin.h | 3 |
2 files changed, 4 insertions, 5 deletions
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 <assert.h> @@ -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; |