diff options
author | James Bursa <james@netsurf-browser.org> | 2003-07-17 23:01:02 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-07-17 23:01:02 +0000 |
commit | 5031b80b331ddc58fd24f3fe7a85503320cf9689 (patch) | |
tree | 7911bcec2639a026ba6ff4403e6984977a8e5d54 /riscos/plugin.c | |
parent | 8bca5444485f4f76f96b8f1f57434afca36cca62 (diff) | |
download | netsurf-5031b80b331ddc58fd24f3fe7a85503320cf9689.tar.gz netsurf-5031b80b331ddc58fd24f3fe7a85503320cf9689.tar.bz2 |
[project @ 2003-07-17 23:01:02 by bursa]
Fix 670947, tidy gui code, move some headers.
svn path=/import/netsurf/; revision=231
Diffstat (limited to 'riscos/plugin.c')
-rw-r--r-- | riscos/plugin.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/riscos/plugin.c b/riscos/plugin.c index 074b9ec97..051de207f 100644 --- a/riscos/plugin.c +++ b/riscos/plugin.c @@ -7,6 +7,7 @@ #include <assert.h> #include <ctype.h> +#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -131,7 +132,7 @@ void plugin_create_sysvar(const char *mime_type, char* sysvar) /** * plugin_handleable * Tests whether we can handle an object using a browser plugin - * returns TRUE if we can handle it, FALSE if we can't. + * returns true if we can handle it, false if we can't. */ bool plugin_handleable(const char *mime_type) { @@ -142,13 +143,13 @@ bool plugin_handleable(const char *mime_type) e = xmimemaptranslate_mime_type_to_filetype(mime_type, (bits *) &fv); if (e) { LOG(("xmimemaptranslate_mime_type_to_filetype failed: %s", e->errmess)); - return FALSE; + return false; } sprintf(sysvar, "%s%x", ALIAS_PREFIX, fv); if (getenv(sysvar) == 0) - return FALSE; - return TRUE; + return false; + return true; } /** |