summaryrefslogtreecommitdiff
path: root/amiga/filetype.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2008-11-09 14:02:04 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2008-11-09 14:02:04 +0000
commit3b6476130da62806c1bce7f3b30da299779f8bd9 (patch)
treefa513f93b9be8f4b0542f7c382d2657e97bf4c4c /amiga/filetype.c
parent9ae3c4f186bc33bfd80945c19c78d42848c57c37 (diff)
downloadnetsurf-3b6476130da62806c1bce7f3b30da299779f8bd9.tar.gz
netsurf-3b6476130da62806c1bce7f3b30da299779f8bd9.tar.bz2
mime type overflow and tab switching fixes.
svn path=/trunk/netsurf/; revision=5660
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r--amiga/filetype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/filetype.c b/amiga/filetype.c
index 2f22ba509..394b6384a 100644
--- a/amiga/filetype.c
+++ b/amiga/filetype.c
@@ -32,7 +32,7 @@
const char *fetch_filetype(const char *unix_path)
{
- static char mimetype[20];
+ static char mimetype[50];
STRPTR ttype = NULL;
struct DiskObject *dobj = NULL;
BPTR lock = 0;
@@ -90,7 +90,7 @@ const char *fetch_filetype(const char *unix_path)
}
}
- if(!mimetype) strcpy(mimetype,"text/plain"); /* If all else fails */
+ if(!mimetype) strcpy(mimetype,"text/html"); /* If all else fails */
return mimetype;
}