diff options
Diffstat (limited to 'src/graphics')
-rw-r--r-- | src/graphics/lfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/lfb.c b/src/graphics/lfb.c index a693135..6aa6012 100644 --- a/src/graphics/lfb.c +++ b/src/graphics/lfb.c @@ -121,7 +121,7 @@ void draw_cletter(unsigned char lx, unsigned char ly, unsigned char letter, unsi unsigned char ltr = letter & 0x7F; for(y=0; y<GLYPH_Y; y++) { for(x=0; x<GLYPH_X; x++) { - if((0b10000000 >> ((GLYPH_X-1)-x)) & glyphs[y+GLYPH_Y*(ltr)]) { + if((0x80 >> ((GLYPH_X-1)-x)) & glyphs[y+GLYPH_Y*(ltr)]) { *((unsigned int*)ptr) = isrgb ? (unsigned int)((c&0xFF)<<16 | (c&0xFF00) | (c&0xFF0000)>>16) : c; } else { *((unsigned int*)ptr) = 0x000000; |