summaryrefslogtreecommitdiff
path: root/amiga/context_menu.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-05-06 20:40:09 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-05-06 20:40:09 +0000
commite71691bae890040b83cfd54a2d9a1097d5026866 (patch)
tree96b2680dc6559ca0ab88fa0b6a533c13b7c9487e /amiga/context_menu.c
parente77b1a29550e4753f771848705975295a6ebe99e (diff)
downloadnetsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.gz
netsurf-e71691bae890040b83cfd54a2d9a1097d5026866.tar.bz2
Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
Diffstat (limited to 'amiga/context_menu.c')
-rwxr-xr-xamiga/context_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/context_menu.c b/amiga/context_menu.c
index 81f81361e..12fed3160 100755
--- a/amiga/context_menu.c
+++ b/amiga/context_menu.c
@@ -469,7 +469,7 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved
ami_easy_clipboard_bitmap(bm);
}
#ifdef WITH_NS_SVG
- else if(content_get_type(object) == CONTENT_SVG)
+ else if(ami_mime_compare(object, "svg") == true)
{
ami_easy_clipboard_svg(object);
}
@@ -529,7 +529,7 @@ static uint32 ami_context_menu_hook(struct Hook *hook,Object *item,APTR reserved
SetComment(fname, content_get_url(object));
}
#ifdef WITH_NS_SVG
- else if(content_get_type(object) == CONTENT_SVG)
+ else if(ami_mime_compare(object, "svg") == true)
{
if(ami_save_svg(object,fname))
SetComment(fname, content_get_url(object));