Changeset 9b2e20c in mainline for uspace/srv/hid/output/port/ega.c
- Timestamp:
- 2021-08-25T13:59:41Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ff6e91b
- Parents:
- c21cc26
- git-author:
- Jiri Svoboda <jiri@…> (2021-08-24 17:59:34)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-08-25 13:59:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/output/port/ega.c
rc21cc26 r9b2e20c 1 1 /* 2 * Copyright (c) 2021 Jiri Svoboda 2 3 * Copyright (c) 2011 Martin Decky 3 4 * All rights reserved. … … 31 32 */ 32 33 34 #include <codepage/cp437.h> 33 35 #include <errno.h> 34 36 #include <sysinfo.h> … … 106 108 { 107 109 uint8_t glyph; 108 109 if (ascii_check(field->ch)) 110 glyph = field->ch;111 else110 errno_t rc; 111 112 rc = cp437_encode(field->ch, &glyph); 113 if (rc != EOK) 112 114 glyph = '?'; 113 115
Note:
See TracChangeset
for help on using the changeset viewer.