Skip to content
Snippets Groups Projects
Commit b76e68b9 authored by rswindell's avatar rswindell
Browse files

Use slash rather pipe to separate Unicode code point from fallback char.

The pipe char is problematic to discuss in msg bases and on the Wiki. <shrug>
parent 43c793a1
No related branches found
No related tags found
No related merge requests found
...@@ -148,7 +148,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen) ...@@ -148,7 +148,7 @@ const char* sbbs_t::atcode(char* sp, char* str, size_t maxlen)
outchar(codepoint, unicode_to_cp437(codepoint)); outchar(codepoint, unicode_to_cp437(codepoint));
else { else {
char fallback = (char)strtoul(tp + 1, NULL, 16); char fallback = (char)strtoul(tp + 1, NULL, 16);
if(*tp == '|') if(*tp == '/')
outchar(codepoint, fallback); outchar(codepoint, fallback);
else if(*tp == '!') { else if(*tp == '!') {
char ch = unicode_to_cp437(codepoint); char ch = unicode_to_cp437(codepoint);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment