summaryrefslogtreecommitdiff
path: root/amiga/font_diskfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/font_diskfont.c')
-rw-r--r--amiga/font_diskfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/font_diskfont.c b/amiga/font_diskfont.c
index bd1e1f9d0..20b69856b 100644
--- a/amiga/font_diskfont.c
+++ b/amiga/font_diskfont.c
@@ -218,9 +218,9 @@ static bool amiga_bm_nsfont_split(const plot_font_style_t *fstyle,
ami_font_bm_close(bmfont);
return false;
}
-
+
offset = TextFit(glob->rp, localtext, (UWORD)strlen(localtext),
- &extent, NULL, 1, x, 32767);
+ &extent, NULL, 1, (UWORD)x, 32767);
co = offset;
charp = localtext + co;