mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 17:22:44 +03:00
Fix OS3 build
This commit is contained in:
parent
9b222fdeb6
commit
528fce7262
@ -33,6 +33,7 @@
|
|||||||
#include <proto/dos.h>
|
#include <proto/dos.h>
|
||||||
#include <proto/utility.h>
|
#include <proto/utility.h>
|
||||||
|
|
||||||
|
#include <diskfont/diskfont.h>
|
||||||
#include <diskfont/diskfonttag.h>
|
#include <diskfont/diskfonttag.h>
|
||||||
#include <intuition/gadgetclass.h>
|
#include <intuition/gadgetclass.h>
|
||||||
|
|
||||||
@ -68,7 +69,7 @@ struct OutlineFont *OpenOutlineFont(STRPTR fileName, struct List *list, ULONG fl
|
|||||||
return NULL;
|
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);
|
LOG("Unable to read FONT %s", fontpath);
|
||||||
FreeVec(fontpath);
|
FreeVec(fontpath);
|
||||||
Close(fh);
|
Close(fh);
|
||||||
|
Loading…
Reference in New Issue
Block a user