diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-28 13:07:44 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-02-28 13:07:44 +0000 |
commit | 07c210b656a88488f62e080327ffb9a900a6c9ed (patch) | |
tree | 5ad5eb675142bf2703e6cfd34f7bfeaae5bffb2d /amiga/file.c | |
parent | 2ce332f1b07af89ce387ca24cc6471f97c80154b (diff) | |
parent | 5baf48859a71060bbe6e81335431fcda6c91a0f8 (diff) | |
download | netsurf-07c210b656a88488f62e080327ffb9a900a6c9ed.tar.gz netsurf-07c210b656a88488f62e080327ffb9a900a6c9ed.tar.bz2 |
Fix hook functions for 68k
Add (partially working) bitmap fonts support
Diffstat (limited to 'amiga/file.c')
-rw-r--r-- | amiga/file.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/amiga/file.c b/amiga/file.c index 733c9c780..e7f1fd356 100644 --- a/amiga/file.c +++ b/amiga/file.c @@ -46,8 +46,7 @@ static struct Hook aslhookfunc; -static ULONG ami_file_asl_mime_hook(struct Hook *mh, - struct FileRequester *fr, struct AnchorPathOld *ap) +HOOKF(ULONG, ami_file_asl_mime_hook, struct FileRequester *, fr, struct AnchorPathOld *) { char fname[1024]; BOOL ret = FALSE; @@ -56,10 +55,10 @@ static ULONG ami_file_asl_mime_hook(struct Hook *mh, lwc_error lerror; content_type ct; - if(ap->ap_Info.fib_DirEntryType > 0) return(TRUE); + if(msg->ap_Info.fib_DirEntryType > 0) return(TRUE); strcpy(fname,fr->fr_Drawer); - AddPart(fname,ap->ap_Info.fib_FileName,1024); + AddPart(fname, msg->ap_Info.fib_FileName,1024); mt = strdup(fetch_filetype(fname)); lerror = lwc_intern_string(mt, strlen(mt), &lwc_mt); |