From 9b76e6cd68ac26b120a8f1ff3a49e3f72660ad67 Mon Sep 17 00:00:00 2001 From: mlichvar Date: Fri, 15 Sep 2006 13:23:58 +0000 Subject: [PATCH] - improve scrollbar appearance (#174771) --- scrollbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrollbar.c b/scrollbar.c index 1a737a4..96ed513 100644 --- a/scrollbar.c +++ b/scrollbar.c @@ -47,7 +47,7 @@ newtComponent newtVerticalScrollbar(int left, int top, int height, sb = malloc(sizeof(*sb)); co->data = sb; - if (!strcmp(getenv("TERM"), "linux") && height >= 2) { + if (height >= 2) { sb->arrows = 1; sb->curr = 1; } else { @@ -100,7 +100,7 @@ static void sbDraw(newtComponent co) { static void sbDrawThumb(newtComponent co, int isOn) { struct scrollbar * sb = co->data; - SLtt_Char_Type ch = isOn ? '#' : SLSMG_CKBRD_CHAR; + SLtt_Char_Type ch = isOn ? SLSMG_BLOCK_CHAR : SLSMG_CKBRD_CHAR; if (!co->isMapped) return; -- 2.47.2