Changes in uspace/lib/draw/font/pcf.c [23c8acd9:d5c1051] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/draw/font/pcf.c
r23c8acd9 rd5c1051 36 36 #include <stddef.h> 37 37 #include <stdint.h> 38 #include <malloc.h>39 38 #include <errno.h> 40 39 #include <byteorder.h> … … 42 41 #include <align.h> 43 42 #include <offset.h> 43 #include <stdlib.h> 44 44 45 45 #include "pcf.h" … … 268 268 (glyph_id * sizeof(uint32_t)); 269 269 270 rc = fseek(data->file, offset, SEEK_SET); 271 if (rc != 0) 270 if (fseek(data->file, offset, SEEK_SET) < 0) 272 271 return errno; 273 272 … … 284 283 + bitmap_offset; 285 284 286 rc = fseek(data->file, offset, SEEK_SET); 287 if (rc != 0) 285 if (fseek(data->file, offset, SEEK_SET) < 0) 288 286 return errno; 289 287
Note:
See TracChangeset
for help on using the changeset viewer.