summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Lees <adrian@aemulor.com>2006-03-04 05:53:49 +0000
committerAdrian Lees <adrian@aemulor.com>2006-03-04 05:53:49 +0000
commitdfd0e17b67a62c6b10b7eab2759fbb7392f02469 (patch)
treedb39fa4d196e72ecfaa5aac49fcbc1cb60ea77d5
parent464964cfb62ab33fa5672ad493aa0f1cb5e21d6a (diff)
downloadnetsurf-dfd0e17b67a62c6b10b7eab2759fbb7392f02469.tar.gz
netsurf-dfd0e17b67a62c6b10b7eab2759fbb7392f02469.tar.bz2
[project @ 2006-03-04 05:53:49 by adrianl]
Allow adjust-drag-saving of sprites too svn path=/import/netsurf/; revision=2101
-rw-r--r--riscos/save.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/riscos/save.c b/riscos/save.c
index d184d5641..45bccefec 100644
--- a/riscos/save.c
+++ b/riscos/save.c
@@ -798,27 +798,25 @@ void ro_gui_save_object_native(struct content *c, char *path)
switch (c->type) {
#ifdef WITH_JPEG
case CONTENT_JPEG:
- bitmap_save(c->bitmap, path);
- break;
#endif
#ifdef WITH_MNG
case CONTENT_PNG:
case CONTENT_JNG:
case CONTENT_MNG:
- bitmap_save(c->bitmap, path);
- break;
#endif
#ifdef WITH_GIF
case CONTENT_GIF:
- bitmap_save(c->bitmap, path);
- break;
#endif
#ifdef WITH_BMP
case CONTENT_BMP:
case CONTENT_ICO:
+#endif
+#ifdef WITH_SPRITE
+ case CONTENT_SPRITE:
+#endif
bitmap_save(c->bitmap, path);
break;
-#endif
+
default:
break;
}