diff options
Diffstat (limited to 'frontends/amiga/font_bullet.c')
-rw-r--r-- | frontends/amiga/font_bullet.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontends/amiga/font_bullet.c b/frontends/amiga/font_bullet.c index 6283a1fbd..dec39a1f7 100644 --- a/frontends/amiga/font_bullet.c +++ b/frontends/amiga/font_bullet.c @@ -349,6 +349,11 @@ static nserror amiga_nsfont_split(const plot_font_style_t *fstyle, */ static struct ami_font_cache_node *ami_font_open(const char *font, bool critical) { + if(font == NULL) { + NSLOG(netsurf, INFO, "Requested NULL font"); + return NULL; + } + struct ami_font_cache_node *nodedata = ami_font_cache_locate(font); if(nodedata) return nodedata; |