diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-08-17 17:44:27 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-08-17 17:44:27 +0100 |
commit | 528fce72627493a302febc521417992f25e570f8 (patch) | |
tree | 21218bd3b9a91122cb1abf10d61e450b5bffa577 | |
parent | 9b222fdeb66d149628aace66853ee29627dfabc1 (diff) | |
download | netsurf-528fce72627493a302febc521417992f25e570f8.tar.gz netsurf-528fce72627493a302febc521417992f25e570f8.tar.bz2 |
Fix OS3 build
-rw-r--r-- | amiga/os3support.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/amiga/os3support.c b/amiga/os3support.c index f4d857a78..7235d8c56 100644 --- a/amiga/os3support.c +++ b/amiga/os3support.c @@ -33,6 +33,7 @@ #include <proto/dos.h> #include <proto/utility.h> +#include <diskfont/diskfont.h> #include <diskfont/diskfonttag.h> #include <intuition/gadgetclass.h> @@ -68,7 +69,7 @@ struct OutlineFont *OpenOutlineFont(STRPTR fileName, struct List *list, ULONG fl return NULL; } - if(Read(fh, &magic, sizeof(struct FontContentsHeader)) != sizeof(struct FontContentsHeader)) { + if(Read(fh, &fch, sizeof(struct FontContentsHeader)) != sizeof(struct FontContentsHeader)) { LOG("Unable to read FONT %s", fontpath); FreeVec(fontpath); Close(fh); |