From 4ee38c563af71a9c70504dc989f1baaf7b0990e1 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Fri, 25 Feb 2011 23:21:40 +0000 Subject: added .txt file type. svn path=/trunk/netsurf/; revision=11811 --- atari/filetype.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'atari') diff --git a/atari/filetype.c b/atari/filetype.c index 85cfc59cd..e21f33c54 100755 --- a/atari/filetype.c +++ b/atari/filetype.c @@ -53,6 +53,8 @@ const char *fetch_filetype(const char *unix_path) return "image/jng"; if (2 < l && strcasecmp(unix_path + l - 3, "svg") == 0) return "image/svg"; + if (2 < l && strcasecmp(unix_path + l - 3, "txt") == 0) + return "text/plain"; return "text/html"; } -- cgit v1.2.3