Changeset 8a9a41e in mainline for uspace/srv/hid/output/port/ega.c


Ignore:
Timestamp:
2021-10-24T08:28:43Z (4 years ago)
Author:
GitHub <noreply@…>
Children:
1b9fcd0
Parents:
2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
git-committer:
GitHub <noreply@…> (2021-10-24 08:28:43)
Message:

Merge branch 'HelenOS:master' into master

File:
1 edited

Legend:

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

    r2ce943a r8a9a41e  
    11/*
     2 * Copyright (c) 2021 Jiri Svoboda
    23 * Copyright (c) 2011 Martin Decky
    34 * All rights reserved.
     
    3132 */
    3233
     34#include <codepage/cp437.h>
    3335#include <errno.h>
    3436#include <sysinfo.h>
     
    106108{
    107109        uint8_t glyph;
    108 
    109         if (ascii_check(field->ch))
    110                 glyph = field->ch;
    111         else
     110        errno_t rc;
     111
     112        rc = cp437_encode(field->ch, &glyph);
     113        if (rc != EOK)
    112114                glyph = '?';
    113115
Note: See TracChangeset for help on using the changeset viewer.