summaryrefslogtreecommitdiff
path: root/amiga/font.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2012-04-18 19:44:09 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2012-04-18 19:44:09 +0000
commitf6b15c1061327076d28a8438ff5baf0ab7bfe4d8 (patch)
treea5942e2fcd9cb0510b8ab5d202987260505a3076 /amiga/font.c
parentb4977fbdcc096b6ab354fee7bb0deb37515de4a7 (diff)
downloadnetsurf-f6b15c1061327076d28a8438ff5baf0ab7bfe4d8.tar.gz
netsurf-f6b15c1061327076d28a8438ff5baf0ab7bfe4d8.tar.bz2
Re-jig URL launch as would never have fallen back to using openurl.library.
Add it as an option instead. svn path=/trunk/netsurf/; revision=13882
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;