From 233904c7ed17002b434aa9c312976f2d4dfc08d9 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 23 Jan 2014 00:09:59 +0000 Subject: fix build faliures from fetch table operation refactor --- amiga/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/file.c') diff --git a/amiga/file.c b/amiga/file.c index 937fb9052..9500b4084 100644 --- a/amiga/file.c +++ b/amiga/file.c @@ -62,7 +62,7 @@ static const ULONG ami_file_asl_mime_hook(struct Hook *mh, strcpy(fname,fr->fr_Drawer); AddPart(fname,ap->ap_Info.fib_FileName,1024); - mt = fetch_mimetype(fname); + mt = strdup(fetch_filetype(fname)); lerror = lwc_intern_string(mt, strlen(mt), &lwc_mt); if (lerror != lwc_error_ok) return FALSE; -- cgit v1.2.3