From 98bf4132c545e3880432d6866527ee0753d908fc Mon Sep 17 00:00:00 2001 From: Sadrul Habib Chowdhury Date: Mon, 10 May 2010 22:52:51 -0400 Subject: Fix a bug with displaying blank spaces with bce on. With bce on, in some terminals, copying when applications use a theme with a custom background color other than the default ends up copying blank-spaces at the end of the lines as white-spces. This fixes that. --- src/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display.c b/src/display.c index 2b3eca3..5fa11cb 100644 --- a/src/display.c +++ b/src/display.c @@ -2524,7 +2524,7 @@ int from, to, y, bce; DisplayLine(oml, &mline_blank, y, from, to); return; } - bcechar = mchar_blank; + bcechar = mchar_null; rend_setbg(&bcechar, bce); for (x = from; x <= to; x++) copy_mchar2mline(&bcechar, &mline_old, x); -- cgit v1.2.1