Skip to content
Snippets Groups Projects
Commit e6164566 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Define/use UNICODE_VERTICAL_LINE

Resolve GCC warning: case value ‘124’ not in enumerated type
  ‘enum unicode_codepoint’
parent 93635124
No related branches found
No related tags found
No related merge requests found
Pipeline #8355 passed
......@@ -411,7 +411,7 @@ char unicode_to_cp437(enum unicode_codepoint codepoint)
switch (codepoint) {
case UNICODE_ACUTE_ACCENT: return '\'';
case '|': return '|';
case UNICODE_VERTICAL_LINE: return '|';
case UNICODE_BROKEN_BAR: return '|';
case UNICODE_MACRON: return '~';
......
......@@ -25,6 +25,7 @@
enum unicode_codepoint {
UNICODE_UNDEFINED = 0x0000, // UNICODE_NULL() is defined
UNICODE_VERTICAL_LINE = 0x007C,
UNICODE_NEXT_LINE = 0x0085,
UNICODE_REVERSE_LINE_FEED = 0x008D,
UNICODE_NO_BREAK_SPACE = 0x00A0,
......
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