diff options
-rw-r--r-- | frontends/framebuffer/font_internal.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/framebuffer/font_internal.c b/frontends/framebuffer/font_internal.c index 9164a29db..3fd3ac6ef 100644 --- a/frontends/framebuffer/font_internal.c +++ b/frontends/framebuffer/font_internal.c @@ -364,7 +364,7 @@ fb_font_width(const plot_font_style_t *fstyle, } *width *= fb_get_font_size(fstyle); - return true; + return NSERROR_OK; } @@ -397,7 +397,7 @@ fb_font_position(const plot_font_style_t *fstyle, *actual_x = x_pos; *char_offset = nxtchr; - return true; + return NSERROR_OK; } @@ -455,7 +455,7 @@ fb_font_split(const plot_font_style_t *fstyle, * found a space; return previous space */ *actual_x = last_space_x; *char_offset = last_space_idx; - return true; + return NSERROR_OK; } nxtchr = utf8_next(string, length, nxtchr); @@ -463,7 +463,7 @@ fb_font_split(const plot_font_style_t *fstyle, *char_offset = nxtchr; - return true; + return NSERROR_OK; } |