From b0df6e5b6a57feb8f6c35a5654d0e5422192aac7 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 5 May 2023 21:52:19 +0100 Subject: Ammend the comment It is values not indexes what we match. --- tr8as.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tr8as.c') diff --git a/tr8as.c b/tr8as.c index 38b327d..fcc2c21 100644 --- a/tr8as.c +++ b/tr8as.c @@ -499,7 +499,7 @@ static uint8_t parse_incpng(As *as, char **c) uint8_t index; /* map RGB values to the palette indexes; - * any index over 15 is "transparent" with index 128 */ + * any unmatched value is "transparent" with index 128 */ for (int i = 0; i < x * y * 3; i += 3) { for (index = 0; index < 16; index++) -- cgit v1.2.3