Changeset ba733e83 in mainline for uspace/lib/gui/terminal.c


Ignore:
Timestamp:
2012-11-23T10:08:02Z (12 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
563573b
Parents:
7dba813
Message:

Improved safety of the optimized pixel transfers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/terminal.c

    r7dba813 rba733e83  
    199199                pixel_t *dst = pixelmap_pixel_at(
    200200                    surface_pixmap_access(surface), bx, by + y);
     201                pixel_t *dst_max = pixelmap_pixel_at(
     202                    surface_pixmap_access(surface), bx + FONT_WIDTH - 1, by + y);
     203                if (!dst || !dst_max) continue;
    201204                int count = FONT_WIDTH;
    202205                while (count-- != 0) {
Note: See TracChangeset for help on using the changeset viewer.