diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-06-06 22:27:10 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2011-06-06 22:27:10 +0000 |
commit | dee3127d79b3d27ccb69e729a616f5a68c441639 (patch) | |
tree | 1a36ad868f1cf3f28538279653e2b908d17b2a6b /amiga/filetype.c | |
parent | baf3b8e0f359ec6d6ea7e2c0a366ed175d08dbdb (diff) | |
download | netsurf-dee3127d79b3d27ccb69e729a616f5a68c441639.tar.gz netsurf-dee3127d79b3d27ccb69e729a616f5a68c441639.tar.bz2 |
Don't modify the DataType name within the structure.
Update mimetypes file a bit, add some more descriptive text.
svn path=/trunk/netsurf/; revision=12467
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r-- | amiga/filetype.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/filetype.c b/amiga/filetype.c index c1ab65914..bdc273365 100644 --- a/amiga/filetype.c +++ b/amiga/filetype.c @@ -362,7 +362,8 @@ APTR ami_mime_guess_add_datatype(struct DataType *dt, lwc_string **lwc_mimetype) if (lerror != lwc_error_ok) return NULL; - dt_name_lwr = strlwr(dth->dth_Name); + dt_name_lwr = strdup(dth->dth_Name); + strlwr(dt_name_lwr); p = dt_name_lwr; while(*p != '\0') |