Ignore:
File:
1 edited

Legend:

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

    r9b2e20c r4122410  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
    32 * Copyright (c) 2011 Martin Decky
    43 * All rights reserved.
     
    3231 */
    3332
    34 #include <codepage/cp437.h>
    3533#include <errno.h>
    3634#include <sysinfo.h>
     
    108106{
    109107        uint8_t glyph;
    110         errno_t rc;
    111 
    112         rc = cp437_encode(field->ch, &glyph);
    113         if (rc != EOK)
     108
     109        if (ascii_check(field->ch))
     110                glyph = field->ch;
     111        else
    114112                glyph = '?';
    115113
Note: See TracChangeset for help on using the changeset viewer.