diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-09 00:58:23 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-03-09 00:58:23 +0000 |
commit | 07e1187b69b1b31794e4f2ff2c4a60101c5bf0ad (patch) | |
tree | 50997933a39f7e66ef68bb10b63b208c2365deef /gtk/gtk_filetype.c | |
parent | a074bdbe546b6a64cf4707abcdd3344a5b46b42d (diff) | |
download | netsurf-07e1187b69b1b31794e4f2ff2c4a60101c5bf0ad.tar.gz netsurf-07e1187b69b1b31794e4f2ff2c4a60101c5bf0ad.tar.bz2 |
Add .spr -> image/x-riscos-sprite MIME mapping to GTK front end
Fix crash inducing bugs in nssprite.c
svn path=/trunk/netsurf/; revision=6743
Diffstat (limited to 'gtk/gtk_filetype.c')
-rw-r--r-- | gtk/gtk_filetype.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtk_filetype.c b/gtk/gtk_filetype.c index 1fecbf884..43660055a 100644 --- a/gtk/gtk_filetype.c +++ b/gtk/gtk_filetype.c @@ -64,6 +64,7 @@ void gtk_fetch_filetype_init(const char *mimefile) hash_add(mime_hash, "gif", "image/gif"); hash_add(mime_hash, "png", "image/png"); hash_add(mime_hash, "jng", "image/jng"); + hash_add(mime_hash, "spr", "image/x-riscos-sprite"); if (fh == NULL) { LOG(("Unable to open a mime.types file, so using a minimal one for you.")); |