Changeset 8565a42 in mainline for uspace/lib/draw/cursor/embedded.c


Ignore:
Timestamp:
2018-03-02T20:34:50Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a81f69, d5e5fd1
Parents:
3061bc1 (diff), 34e1206 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
git-committer:
GitHub <noreply@…> (2018-03-02 20:34:50)
Message:

Remove all trailing whitespace, everywhere.

See individual commit messages for details.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/draw/cursor/embedded.c

    r3061bc1 r8565a42  
    4747        assert(state_count);
    4848        assert(data);
    49        
     49
    5050        (*state_count) = 1;
    5151        (*data) = NULL;
     
    5656        if (state != 0)
    5757                return NULL;
    58        
     58
    5959        surface_t *surface = surface_create(CURSOR_WIDTH, CURSOR_HEIGHT, NULL, 0);
    6060        if (!surface)
    6161                return NULL;
    62        
     62
    6363        for (unsigned int y = 0; y < CURSOR_HEIGHT; ++y) {
    6464                for (unsigned int x = 0; x < CURSOR_WIDTH; ++x) {
     
    6767                        pixel_t pixel = (cursor_texture[offset] & (1 << (x % 8))) ?
    6868                            PIXEL(255, 0, 0, 0) : PIXEL(255, 255, 255, 255);
    69                        
     69
    7070                        if (visible)
    7171                                surface_put_pixel(surface, x, y, pixel);
    7272                }
    7373        }
    74        
     74
    7575        return surface;
    7676}
Note: See TracChangeset for help on using the changeset viewer.