aboutsummaryrefslogtreecommitdiffstats
path: root/g10/photoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/photoid.c')
-rw-r--r--g10/photoid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/photoid.c b/g10/photoid.c
index 5fd61fe75..13e4cd1c7 100644
--- a/g10/photoid.c
+++ b/g10/photoid.c
@@ -273,6 +273,11 @@ void show_photos(const struct user_attribute *attrs,
goto fail;
}
+#ifdef __riscos__
+ riscos_set_filetype(spawn->tempfile_in,
+ image_type_to_string(args.imagetype,2));
+#endif
+
m_free(name);
fwrite(&attrs[i].data[offset],attrs[i].len-offset,1,spawn->tochild);