summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2022-09-27 00:53:45 +0200
committerLouis Burda <quent.burda@gmail.com>2022-09-27 00:53:45 +0200
commita35e97a83059d83497c0cadaa6d807d18b621edd (patch)
tree4531229c3e2f3ab1e465f27a6bca4dfe719b67db
parent37b7f2062cb792ff04aa424a88df8935639dff9f (diff)
downloadhex-a35e97a83059d83497c0cadaa6d807d18b621edd.tar.gz
hex-a35e97a83059d83497c0cadaa6d807d18b621edd.zip
Fix gap in hexv gradients for 0xFE
-rw-r--r--hexv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hexv.c b/hexv.c
index 3838b61..ffde5f2 100644
--- a/hexv.c
+++ b/hexv.c
@@ -16,7 +16,7 @@ static int gradient[256] = {
[128 ... 159] = 248,
[160 ... 191] = 250,
[192 ... 223] = 252,
- [224 ... 253] = 254,
+ [224 ... 254] = 254,
[255] = 255,
};