summaryrefslogtreecommitdiff
path: root/amiga/filetype.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2010-07-24 16:39:37 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2010-07-24 16:39:37 +0000
commit004aee8281895120f69bb83559278c17805584cd (patch)
tree01d99e47995846d4a3afaa28163f7ed01f890890 /amiga/filetype.c
parentd5b8cf89da0552129c9a88e93cbc25aab61ae25e (diff)
downloadnetsurf-004aee8281895120f69bb83559278c17805584cd.tar.gz
netsurf-004aee8281895120f69bb83559278c17805584cd.tar.bz2
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
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r--amiga/filetype.c4
1 files changed, 4 insertions, 0 deletions
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: