mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-17 01:33:16 +03:00
Fix OS3 build
This commit is contained in:
parent
9b222fdeb6
commit
528fce7262
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user