diff options
Diffstat (limited to 'frontends/amiga/font_bullet.c')
-rw-r--r-- | frontends/amiga/font_bullet.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/amiga/font_bullet.c b/frontends/amiga/font_bullet.c index 0b414c24e..6283a1fbd 100644 --- a/frontends/amiga/font_bullet.c +++ b/frontends/amiga/font_bullet.c @@ -169,7 +169,9 @@ static nserror amiga_nsfont_width(const plot_font_style_t *fstyle, { *width = ami_font_unicode_width(string, length, fstyle, 0, 0, false); - if(*width <= 0) *width == length; // fudge + if(*width <= 0) { + *width = length; /* fudge */ + } return NSERROR_OK; } |