Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/font/pcf.c

    rd5c1051 r23c8acd9  
    3636#include <stddef.h>
    3737#include <stdint.h>
     38#include <malloc.h>
    3839#include <errno.h>
    3940#include <byteorder.h>
     
    4142#include <align.h>
    4243#include <offset.h>
    43 #include <stdlib.h>
    4444
    4545#include "pcf.h"
     
    268268            (glyph_id * sizeof(uint32_t));
    269269       
    270         if (fseek(data->file, offset, SEEK_SET) < 0)
     270        rc = fseek(data->file, offset, SEEK_SET);
     271        if (rc != 0)
    271272                return errno;
    272273       
     
    283284            + bitmap_offset;
    284285       
    285         if (fseek(data->file, offset, SEEK_SET) < 0)
     286        rc = fseek(data->file, offset, SEEK_SET);
     287        if (rc != 0)
    286288                return errno;
    287289       
Note: See TracChangeset for help on using the changeset viewer.