From 59ea187b74cb8ec2295c189356321390cea43ab3 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 18 Jan 2016 00:20:45 +0000 Subject: Ensure the textattr flags field is clear This fixes problems with inconsistent layouting on OS3 --- amiga/font_diskfont.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'amiga') diff --git a/amiga/font_diskfont.c b/amiga/font_diskfont.c index 61f777355..7b8819969 100644 --- a/amiga/font_diskfont.c +++ b/amiga/font_diskfont.c @@ -43,6 +43,8 @@ static struct TextFont *ami_font_bm_open(struct RastPort *rp, const plot_font_st if(rp == NULL) return NULL; + tattr.ta_Flags = 0; + switch(fstyle->family) { case PLOT_FONT_FAMILY_SANS_SERIF: -- cgit v1.2.3