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

Changeset 446ac2a in mainline


Ignore:
Timestamp:
2012-04-07T17:51:29Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
8bcd727
Parents:
c7afcba7
Message:

avoid compiler warning

Location:
uspace/srv/hid/fb/port
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/fb/port/ega.c

    rc7afcba7 r446ac2a  
    117117        uint8_t glyph;
    118118       
    119         if ((field->ch >= 0) && (field->ch < 128))
     119        if (ascii_check(field->ch))
    120120                glyph = field->ch;
    121121        else
  • uspace/srv/hid/fb/port/kchar.c

    rc7afcba7 r446ac2a  
    4848static void kchar_putchar(wchar_t ch)
    4949{
    50         if ((ch >= 0) && (ch < 128))
     50        if (ascii_check(ch))
    5151                *kchar.addr = ch;
    5252        else
  • uspace/srv/hid/fb/port/niagara.c

    rc7afcba7 r446ac2a  
    6868static void niagara_putchar(wchar_t ch)
    6969{
    70         if ((ch >= 0) && (ch < 128))
     70        if (ascii_check(ch))
    7171                niagara_putc(ch);
    7272        else
Note: See TracChangeset for help on using the changeset viewer.