diff options
Diffstat (limited to 'riscos/font.c')
-rw-r--r-- | riscos/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/font.c b/riscos/font.c index 493a7e507..6eaabcc97 100644 --- a/riscos/font.c +++ b/riscos/font.c @@ -61,7 +61,7 @@ unsigned long font_width(struct font_data *font, const char * text, unsigned int 0, &width, 0, 0); if (error != 0) { fprintf(stderr, "%s\n", error->errmess); - die("font_scan_string failed"); + die("font_width: font_scan_string failed"); } return width / 800; @@ -212,7 +212,7 @@ char * font_split(struct font_data *data, const char * text, unsigned int length used_width, 0, 0); if (error != 0) { fprintf(stderr, "%s\n", error->errmess); - die("font_scan_string failed"); + die("font_split: font_scan_string failed"); } *used_width = browser_x_units(*used_width / 400); |