Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/fontviewer/fontviewer.c

    rb7fd2a0 r1569a9b  
    6363char *font_path = NULL;
    6464
    65 static errno_t draw(void);
     65static int draw(void);
    6666
    6767static void on_keyboard_event(widget_t *widget, void *data)
     
    9696        }
    9797       
    98         errno_t rc = draw();
     98        int rc = draw();
    9999        if (rc != EOK) {
    100100                printf("Failed drawing: %s.\n", str_error(rc));
     
    104104}
    105105
    106 static errno_t create_font(font_t **font, uint16_t points)
     106static int create_font(font_t **font, uint16_t points)
    107107{
    108108        if (font_path == NULL) {
     
    161161
    162162
    163 static errno_t draw(void)
     163static int draw(void)
    164164{
    165165        source_t background = rgb(255, 255, 255);
     
    174174       
    175175        font_t *font;
    176         errno_t rc = create_font(&font, points);
     176        int rc = create_font(&font, points);
    177177        if (rc != EOK) {
    178178                printf("Failed creating font\n");
     
    274274        height = WINDOW_HEIGHT;
    275275       
    276         errno_t rc = draw();
     276        int rc = draw();
    277277        if (rc != EOK) {
    278278                printf("Failed drawing: %s.\n", str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.