From 004aee8281895120f69bb83559278c17805584cd Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sat, 24 Jul 2010 16:39:37 +0000 Subject: Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging selections within NetSurf window to text fields (does not work across windows). todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is putting something on the clipboard which causes a crash when pasting it back svn path=/trunk/netsurf/; revision=10660 --- amiga/filetype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'amiga/filetype.c') diff --git a/amiga/filetype.c b/amiga/filetype.c index dbb3f9981..89500edc7 100644 --- a/amiga/filetype.c +++ b/amiga/filetype.c @@ -103,6 +103,10 @@ const char *fetch_filetype(const char *unix_path) break; case GID_PICTURE: sprintf(mimetype,"image/%s",dth->dth_BaseName); + if(strcmp("sprite",dth->dth_BaseName)==0) + { + strcpy(mimetype,"image/x-riscos-sprite"); + } break; case GID_ANIMATION: case GID_MOVIE: -- cgit v1.2.3