summaryrefslogtreecommitdiff
path: root/amiga/filetype.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r--amiga/filetype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/filetype.c b/amiga/filetype.c
index d15890ce4..f22ab26f5 100644
--- a/amiga/filetype.c
+++ b/amiga/filetype.c
@@ -1,5 +1,6 @@
/*
* Copyright 2003 James Bursa <bursa@users.sourceforge.net>
+ * Copyright 2008 Chris Young <chris@unsatisfactorysoftware.co.uk>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
@@ -51,5 +52,5 @@ const char *fetch_filetype(const char *unix_path)
char *fetch_mimetype(const char *ro_path)
{
- return strdup("text/plain");
+ return strdup(fetch_filetype(ro_path));
}