summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/pngo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pngo.c b/bin/pngo.c
index 17ffbd62..b4563839 100644
--- a/bin/pngo.c
+++ b/bin/pngo.c
@@ -226,7 +226,7 @@ static uint8_t paethPredictor(uint8_t a, uint8_t b, uint8_t c) {
     int32_t pb = labs(p - (int32_t)b);
     int32_t pc = labs(p - (int32_t)c);
     if (pa <= pb && pa <= pc) return a;
-    if (pb < pc) return b;
+    if (pb <= pc) return b;
     return c;
 }
 
p;follow=1'>Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe 2021-01-18Allow matching lexers using first input lineJune McEnroe