commit | 32ee627750e8b7b3fa6516b893e72f6e6af54710 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jun 10 14:16:49 2020 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jun 10 14:16:49 2020 +0200 |
tree | dfa25269bbbaaf317765ff0ef0b059362c33f920 | |
parent | 0e390f40e944036fb558a63b91238cfda128d95f [diff] [blame] |
patch 8.2.0943: displaying ^M or ^J depends on current buffer Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes #6225)
diff --git a/src/gui_beval.c b/src/gui_beval.c index d3def17..57122ff 100644 --- a/src/gui_beval.c +++ b/src/gui_beval.c
@@ -840,7 +840,7 @@ } else { - transchar_nonprint(pdest, *p); // ^X + transchar_nonprint(curbuf, pdest, *p); // ^X outlen = 2; } if (pixel != INVALCOLOR)