aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-05 14:33:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-17 15:58:29 +0000
commit5dd8a7090578d62519a2568b70989acc812c082a (patch)
tree6989d0b4d52469a78e5f32c9cfae619b6bf27c81
parentbox-drawing: draw shades as “antialiased” blocks (diff)
box-drawing: swap amount of shade for LIGHT and DARK shades
The DARK shade is the one most dense, and thus the one that looks brightest.
-rw-r--r--box-drawing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/box-drawing.c b/box-drawing.c
index eb486a75..ff1ccf22 100644
--- a/box-drawing.c
+++ b/box-drawing.c
@@ -1697,7 +1697,7 @@ draw_light_shade(struct buf *buf)
}
}
} else
- draw_pixman_shade(buf, 0x8000);
+ draw_pixman_shade(buf, 0x2000);
}
static void
@@ -1727,7 +1727,7 @@ draw_dark_shade(struct buf *buf)
}
}
} else
- draw_pixman_shade(buf, 0x2000);
+ draw_pixman_shade(buf, 0x8000);
}
static void