summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/newt/files/newt-0.52.2-scrollbars.patch')
-rw-r--r--dev-libs/newt/files/newt-0.52.2-scrollbars.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/newt/files/newt-0.52.2-scrollbars.patch b/dev-libs/newt/files/newt-0.52.2-scrollbars.patch
new file mode 100644
index 000000000000..9cf8542fbfb9
--- /dev/null
+++ b/dev-libs/newt/files/newt-0.52.2-scrollbars.patch
@@ -0,0 +1,21 @@
+diff -ru newt-0.51.6/scrollbar.c newt-0.51.6-new/scrollbar.c
+--- newt-0.51.6/scrollbar.c 2002-06-26 22:17:46.000000000 -0400
++++ newt-0.51.6-new/scrollbar.c 2005-08-06 22:33:00.000000000 -0400
+@@ -47,7 +47,7 @@
+ 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 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;
+