Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 3c101bd4 in mainline


Ignore:
Timestamp:
2009-04-24T12:38:33Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
422fd81
Parents:
700dcb5
Message:

fix disappeared cursor in aligned rendering

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fb/fb.c

    r700dcb5 r3c101bd4  
    512512                        for (x = 0; x < FONT_WIDTH; x++) {
    513513                                screen.mask_conv(&screen.glyphs[GLYPH_POS(glyph, y, false) + x * screen.pixelbytes],
    514                                     (fb_font[glyph][y] & (1 << (7 - x))) ? 1 : 0);
     514                                    (fb_font[glyph][y] & (1 << (7 - x))) ? true : false);
    515515                               
    516516                                screen.mask_conv(&screen.glyphs[GLYPH_POS(glyph, y, true) + x * screen.pixelbytes],
    517                                     (fb_font[glyph][y] & (1 << (7 - x))) ? 1 : 0);
     517                                    (fb_font[glyph][y] & (1 << (7 - x))) ? false : true);
    518518                        }
    519519                }
Note: See TracChangeset for help on using the changeset viewer.