diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-10 14:16:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-10 14:16:49 +0200 |
commit | 32ee627750e8b7b3fa6516b893e72f6e6af54710 (patch) | |
tree | dfa25269bbbaaf317765ff0ef0b059362c33f920 /src/gui_beval.c | |
parent | 0e390f40e944036fb558a63b91238cfda128d95f (diff) | |
download | vim-git-32ee627750e8b7b3fa6516b893e72f6e6af54710.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c index d3def17c9..57122ffa9 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) |