Skip to content
Snippets Groups Projects
Commit 23399009 authored by Golden's avatar Golden
Browse files

Make caret coloring support letters.

parent d004515d
Branches
Tags
1 merge request!1295Make caret coloring support letters.
......@@ -59,6 +59,12 @@ ATTRINLINE static FUNCINLINE char myfget_color(MYFILE *f)
if (c >= '0' && c <= '9')
return 0x80+(c-'0');
c = tolower(c);
if (c >= 'a' && c <= 'f')
return 0x80+10+(c-'a');
return 0x80; // Unhandled -- default to no color
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment