Changeset d145ecb in mainline for uspace/lib/gfxfont/src/font.c


Ignore:
Timestamp:
2020-09-21T14:02:42Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aaf962e6
Parents:
003c413
Message:

Libriff needs unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfxfont/src/font.c

    r003c413 rd145ecb  
    375375                return rc;
    376376
    377         rc = riff_wchunk_write(riffw, (void *) props, sizeof(*props));
     377        rc = riff_write(riffw, (void *) props, sizeof(*props));
    378378        if (rc != EOK)
    379379                return rc;
     
    402402                return rc;
    403403
    404         rc = riff_wchunk_write(riffw, (void *) metrics, sizeof(*metrics));
     404        rc = riff_write(riffw, (void *) metrics, sizeof(*metrics));
    405405        if (rc != EOK)
    406406                return rc;
     
    445445                return rc;
    446446
    447         rc = riff_wchunk_write(riffw, (void *) alloc.pixels,
     447        rc = riff_write(riffw, (void *) alloc.pixels,
    448448            font->rect.p1.x * font->rect.p1.y * sizeof(uint32_t));
    449449        if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.