Use VIS_CSTYLE for the arguments and add the missing escapes it can

generate to the parser.
This commit is contained in:
nicm
2019-05-29 20:05:14 +00:00
parent c17edd594e
commit 7dced37673
4 changed files with 18 additions and 3 deletions

View File

@ -246,7 +246,7 @@ window_buffer_draw(__unused void *modedata, void *itemdata,
at = 0;
while (end != pdata + psize && *end != '\n') {
if ((sizeof line) - at > 5) {
cp = vis(line + at, *end, VIS_TAB|VIS_OCTAL, 0);
cp = vis(line + at, *end, VIS_OCTAL|VIS_TAB, 0);
at = cp - line;
}
end++;