Changeset 1433ecda in mainline for uspace/lib/c/include/io/pixelmap.h


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/io/pixelmap.h

    r47b2d7e3 r1433ecda  
    8181
    8282static inline void pixelmap_put_pixel(
    83     pixelmap_t * pixelmap,
     83    pixelmap_t *pixelmap,
    8484    sysarg_t x,
    8585    sysarg_t y,
     
    112112                x %= pixmap->width;
    113113                y %= pixmap->height;
    114         }
    115         else if (extend == PIXELMAP_EXTEND_SIDES ||
     114        } else if (extend == PIXELMAP_EXTEND_SIDES ||
    116115            extend == PIXELMAP_EXTEND_TRANSPARENT_SIDES) {
    117116                bool transparent_outside =
     
    120119                        x = 0;
    121120                        transparent = transparent_outside;
    122                 }
    123                 else if (((sysarg_t) x) >= pixmap->width) {
     121                } else if (((sysarg_t) x) >= pixmap->width) {
    124122                        x = pixmap->width - 1;
    125123                        transparent = transparent_outside;
     
    129127                        y = 0;
    130128                        transparent = transparent_outside;
    131                 }
    132                 else if (((sysarg_t) y) >= pixmap->height) {
     129                } else if (((sysarg_t) y) >= pixmap->height) {
    133130                        y = pixmap->height - 1;
    134131                        transparent = transparent_outside;
Note: See TracChangeset for help on using the changeset viewer.