summaryrefslogtreecommitdiffstats
path: root/src/gui_beval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-10 14:16:49 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-10 14:16:49 +0200
commit32ee627750e8b7b3fa6516b893e72f6e6af54710 (patch)
treedfa25269bbbaaf317765ff0ef0b059362c33f920 /src/gui_beval.c
parent0e390f40e944036fb558a63b91238cfda128d95f (diff)
patch 8.2.0943: displaying ^M or ^J depends on current bufferv8.2.0943
Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes #6225)
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c
index d3def17c90..57122ffa9a 100644
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -840,7 +840,7 @@ set_printable_label_text(GtkLabel *label, char_u *text)
}
else
{
- transchar_nonprint(pdest, *p); // ^X
+ transchar_nonprint(curbuf, pdest, *p); // ^X
outlen = 2;
}
if (pixel != INVALCOLOR)