summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-07-09 22:06:39 +0000
committerJames Bursa <james@netsurf-browser.org>2003-07-09 22:06:39 +0000
commit907115c49d571eea11919e55d84bd599154ccb0f (patch)
tree00017600665fee2ca89d8ee59cccaecc15e54544 /render/box.c
parent0226e529e6ddffa8b3fa88618923d77913fd1be2 (diff)
downloadnetsurf-907115c49d571eea11919e55d84bd599154ccb0f.tar.gz
netsurf-907115c49d571eea11919e55d84bd599154ccb0f.tar.bz2
[project @ 2003-07-09 22:06:39 by bursa]
Bool fixes. svn path=/import/netsurf/; revision=215
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c10
1 files changed, 5 insertions, 5 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;
}