diff options
-rw-r--r-- | render/box.c | 10 | ||||
-rw-r--r-- | riscos/plugin.c | 4 | ||||
-rw-r--r-- | riscos/plugin.h | 1 |
3 files changed, 7 insertions, 8 deletions
diff --git a/render/box.c b/render/box.c index d71c1112b..2909da7de 100644 --- a/render/box.c +++ b/render/box.c @@ -1583,12 +1583,12 @@ bool plugin_decode(struct content* content, char* url, struct box* box, * we can't handle this object. */ if(po->data == 0 && po->classid == 0) { - return false; + return FALSE; } if(po->data == 0 && po->classid != 0) { if(strnicmp(po->classid, "clsid:", 6) == 0) { LOG(("ActiveX object - n0")); - return false; + return FALSE; } else { url = url_join(po->classid, po->codebase); @@ -1603,11 +1603,11 @@ bool plugin_decode(struct content* content, char* url, struct box* box, */ if(po->type != 0) { if (content_lookup(po->type) == CONTENT_OTHER) - return false; + return FALSE; } if(po->codetype != 0) { if (content_lookup(po->codetype) == CONTENT_OTHER) - return false; + return FALSE; } /* If we've got to here, the object declaration has provided us with @@ -1619,6 +1619,6 @@ bool plugin_decode(struct content* content, char* url, struct box* box, */ html_fetch_object(content, url, box); - return true; + return TRUE; } diff --git a/riscos/plugin.c b/riscos/plugin.c index 4df604371..421d8b6f2 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -89,8 +89,8 @@ bool plugin_handleable(const char *mime_type) sprintf(sysvar, "%s%x", ALIAS_PREFIX, e == NULL ? fv : 0 ); if (getenv(sysvar) == 0) - return false; - return true; + return FALSE; + return TRUE; } /** diff --git a/riscos/plugin.h b/riscos/plugin.h index 9456e3883..0c65012f1 100644 --- a/riscos/plugin.h +++ b/riscos/plugin.h @@ -8,7 +8,6 @@ #ifndef _NETSURF_RISCOS_PLUGIN_H_ #define _NETSURF_RISCOS_PLUGIN_H_ -#include <stdbool.h> #include "netsurf/content/content.h" #include "netsurf/render/box.h" |