diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-05-05 21:52:19 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-05-05 21:52:19 +0100 |
commit | b0df6e5b6a57feb8f6c35a5654d0e5422192aac7 (patch) | |
tree | 5b8af7713fd34318c39598bd7be8213226d38a92 /tr8as.c | |
parent | ca551c1700cf982fe96388491a096b515365894f (diff) | |
download | tr8vm-b0df6e5b6a57feb8f6c35a5654d0e5422192aac7.tar.gz tr8vm-b0df6e5b6a57feb8f6c35a5654d0e5422192aac7.zip |
Ammend the comment
It is values not indexes what we match.
Diffstat (limited to 'tr8as.c')
-rw-r--r-- | tr8as.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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++) |