diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-30 19:37:38 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-30 19:37:38 +0000 |
commit | 7a72ff3161c8cfe31cf3217304223593a277a647 (patch) | |
tree | 8f78c55c392c0b4f98c1d88eeb387ffea0f124c3 /amiga/os3support.h | |
parent | 8373fe14cbf21148ccaf1fabe1a43e90a2def566 (diff) | |
download | netsurf-7a72ff3161c8cfe31cf3217304223593a277a647.tar.gz netsurf-7a72ff3161c8cfe31cf3217304223593a277a647.tar.bz2 |
Fixup font scanning some more, remove .font suffix
Diffstat (limited to 'amiga/os3support.h')
-rw-r--r-- | amiga/os3support.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/os3support.h b/amiga/os3support.h index f94efc107..319d3b319 100644 --- a/amiga/os3support.h +++ b/amiga/os3support.h @@ -143,8 +143,8 @@ /* Exec */ #define AllocVecTagList(SZ,TAG) AllocVec(SZ,MEMF_ANY) /* AllocVecTagList with no tags */ #define FindIName FindName -#define GetPred(N) (N)->ln_Pred -#define GetSucc(N) (N)->ln_Succ +#define GetPred(N) N ? (N)->ln_Pred : NULL +#define GetSucc(N) N ? (N)->ln_Succ : NULL /* Gfx */ #define SetRPAttrs(...) (void)0 /*\todo Probably need to emulate this */ |