From 3b6476130da62806c1bce7f3b30da299779f8bd9 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 9 Nov 2008 14:02:04 +0000 Subject: mime type overflow and tab switching fixes. svn path=/trunk/netsurf/; revision=5660 --- amiga/filetype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/filetype.c') 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; } -- cgit v1.2.3