summaryrefslogtreecommitdiffstats
path: root/window-buffer.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-29 20:05:14 +0000
committernicm <nicm>2019-05-29 20:05:14 +0000
commit7dced376737ef685e09fd5a49161ca2bf423e91b (patch)
tree6f8d776bf67584d497386832b172132cd8703dbf /window-buffer.c
parentc17edd594e8088d2355102a8ca58f4b256c59397 (diff)
Use VIS_CSTYLE for the arguments and add the missing escapes it can
generate to the parser.
Diffstat (limited to 'window-buffer.c')
-rw-r--r--window-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/window-buffer.c b/window-buffer.c
index 79dacf97..983b1680 100644
--- a/window-buffer.c
+++ b/window-buffer.c
@@ -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++;