summaryrefslogtreecommitdiff
path: root/amiga/save_complete.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/save_complete.c')
-rwxr-xr-xamiga/save_complete.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/amiga/save_complete.c b/amiga/save_complete.c
index a1059b29a..592781ef8 100755
--- a/amiga/save_complete.c
+++ b/amiga/save_complete.c
@@ -40,8 +40,10 @@
*/
bool save_complete_gui_save(const char *path, const char *filename, size_t len,
- const char *sourcedata, content_type type)
+ const char *sourcedata, lwc_string *mime_type)
{
+ content_type type = content_factory_type_from_mime_type(
+ lwc_string_data(mime_type));
int res;
int namelen;
char deftype[5];