Changes in uspace/lib/gfxfont/src/glyph_bmp.c [1fa6292:dd65f4f7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/src/glyph_bmp.c
r1fa6292 rdd65f4f7 293 293 294 294 /* Allocate new pixel array */ 295 npixels = calloc( 1, sizeof(int));295 npixels = calloc(sizeof(int), 1); 296 296 if (npixels == NULL) 297 297 return ENOMEM; … … 332 332 333 333 /* Allocate new pixel array */ 334 npixels = calloc( (nrect.p1.x - nrect.p0.x) *335 (nrect.p1.y - nrect.p0.y) , sizeof(int));334 npixels = calloc(sizeof(int), (nrect.p1.x - nrect.p0.x) * 335 (nrect.p1.y - nrect.p0.y)); 336 336 if (npixels == NULL) 337 337 return ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.