summaryrefslogtreecommitdiff
path: root/atari
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2011-02-25 23:21:40 +0000
committerOle Loots <ole@monochrom.net>2011-02-25 23:21:40 +0000
commit4ee38c563af71a9c70504dc989f1baaf7b0990e1 (patch)
tree6759f1cc8078cee15972762c0b5e0ad55bb34a41 /atari
parentd324c0397cad8eacdef0c6fb5d8dbea53c45598b (diff)
downloadnetsurf-4ee38c563af71a9c70504dc989f1baaf7b0990e1.tar.gz
netsurf-4ee38c563af71a9c70504dc989f1baaf7b0990e1.tar.bz2
added .txt file type.
svn path=/trunk/netsurf/; revision=11811
Diffstat (limited to 'atari')
-rwxr-xr-xatari/filetype.c2
1 files changed, 2 insertions, 0 deletions
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";
}