Changeset d145ecb in mainline for uspace/lib/gfxfont/src/glyph.c
- Timestamp:
- 2020-09-21T14:02:42Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aaf962e6
- Parents:
- 003c413
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfxfont/src/glyph.c
r003c413 rd145ecb 331 331 return rc; 332 332 333 rc = riff_w chunk_write(riffw, (void *) metrics, sizeof(*metrics));333 rc = riff_write(riffw, (void *) metrics, sizeof(*metrics)); 334 334 if (rc != EOK) 335 335 return rc; … … 363 363 str = gfx_glyph_pattern_str(pat); 364 364 365 rc = riff_w chunk_write(riffw, (void *) str, 1 + str_size(str));365 rc = riff_write(riffw, (void *) str, 1 + str_size(str)); 366 366 if (rc != EOK) 367 367 return rc; … … 393 393 return rc; 394 394 395 rc = riff_wchunk_write(riffw, (void *) &glyph->rect, 396 sizeof(glyph->rect)); 397 if (rc != EOK) 398 return rc; 399 400 rc = riff_wchunk_write(riffw, (void *) &glyph->origin, 401 sizeof(glyph->origin)); 395 rc = riff_write(riffw, (void *) &glyph->rect, sizeof(glyph->rect)); 396 if (rc != EOK) 397 return rc; 398 399 rc = riff_write(riffw, (void *) &glyph->origin, sizeof(glyph->origin)); 402 400 if (rc != EOK) 403 401 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.