From e71691bae890040b83cfd54a2d9a1097d5026866 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 6 May 2011 20:40:09 +0000 Subject: Merge branches/jmb/content-factory to trunk svn path=/trunk/netsurf/; revision=12283 --- amiga/drag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/drag.c') diff --git a/amiga/drag.c b/amiga/drag.c index 37e0acd24..8f5625bcf 100644 --- a/amiga/drag.c +++ b/amiga/drag.c @@ -73,7 +73,7 @@ void gui_drag_save_object(gui_save_type type, hlcache_handle *c, break; case GUI_SAVE_OBJECT_NATIVE: #ifdef WITH_NS_SVG - if(content_get_type(c) == CONTENT_SVG) + if(ami_mime_compare(c, "svg") == true) { filetype = "dr2d"; } @@ -211,7 +211,7 @@ void ami_drag_save(struct Window *win) SetComment(path, content_get_url(c)); } #ifdef WITH_NS_SVG - else if(content_get_type(c) == CONTENT_SVG) + else if(ami_mime_compare(c, "svg") == true) { if(ami_save_svg(c, path)) SetComment(path, content_get_url(c)); -- cgit v1.2.3