Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset fe40b67 in mainline


Ignore:
Timestamp:
2021-02-25T17:01:40Z (18 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial
Children:
b433f68
Parents:
ece5982
Message:

Remove forgotten prototype code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/src/font.c

    rece5982 rfe40b67  
    255255void gfx_font_get_metrics(gfx_font_t *font, gfx_font_metrics_t *metrics)
    256256{
    257         if (font != NULL) {
    258                 *metrics = font->metrics;
    259         } else {
    260                 metrics->ascent = 0;
    261                 metrics->descent = 0;
    262                 metrics->leading = 1;
    263         }
     257        *metrics = font->metrics;
    264258}
    265259
Note: See TracChangeset for help on using the changeset viewer.