Skip to content
Snippets Groups Projects
Commit 16571d5b authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Whoops, add missing files for last commit.

parent d9660eaf
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2698 failed
......@@ -348,6 +348,13 @@ size_t unicode_width(enum unicode_codepoint u)
}
}
char unicode_to_latin1(enum unicode_codepoint codepoint)
{
if (codepoint < 0 || codepoint > 255)
return UNICODE_UNDEFINED;
return codepoint;
}
char unicode_to_cp437(enum unicode_codepoint codepoint)
{
switch(codepoint) {
......
......@@ -46,6 +46,7 @@ extern "C" {
extern enum unicode_codepoint cp437_unicode_tbl[];
size_t unicode_width(enum unicode_codepoint);
char unicode_to_cp437(enum unicode_codepoint);
char unicode_to_latin1(enum unicode_codepoint);
#if defined(__cplusplus)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment