summaryrefslogtreecommitdiffstats
path: root/paste.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 17:59:13 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 17:59:13 +0100
commitbf84359dfb6ab241fc4e586fcbe8070a838f1f37 (patch)
treebd3d00d647e008fdf97833e13b35fd2fea4a9ae8 /paste.c
parent1fa9bcc18357af43954ddb64a51173d99d83dd54 (diff)
Use VIS_CSTYLE for paste buffers also.
Diffstat (limited to 'paste.c')
-rw-r--r--paste.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste.c b/paste.c
index f1f3c9f7..51ae2b1d 100644
--- a/paste.c
+++ b/paste.c
@@ -311,7 +311,7 @@ paste_make_sample(struct paste_buffer *pb)
{
char *buf;
size_t len, used;
- const int flags = VIS_OCTAL|VIS_TAB|VIS_NL;
+ const int flags = VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL;
const size_t width = 200;
len = pb->size;