mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user