summaryrefslogtreecommitdiff
path: root/amiga/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/font.c')
-rw-r--r--amiga/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/font.c b/amiga/font.c
index 213afbb38..fd3c00ddf 100644
--- a/amiga/font.c
+++ b/amiga/font.c
@@ -584,7 +584,7 @@ int32 ami_font_width_glyph(struct OutlineFont *ofont,
TAG_END) == 0)
{
gwnode = GetHead((struct MinList *)gwlist);
- char1w = gwnode->gwe_Width;
+ if(gwnode) char1w = gwnode->gwe_Width;
kern = 0;