sexblitter: fix inverted characters 32+64

while working on the octblitter (see #2669), i noticed that
the last character in the sex[] collection was inverted.
this would result in a swapped foreground/background
color when either the 32nd or 64th spot was hit.
we wanted U+1fb2e (🬮, BLOCK SEXTANT-156) but were
supplying U+1fb0d (🬍, BLOCK SEXTANT-234).
This commit is contained in:
nick black 2024-12-28 10:39:53 -05:00
parent 1f4e4b9782
commit feeb4e8b42
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -524,7 +524,7 @@ sex_solver(const uint32_t rgbas[6], uint64_t* channels, unsigned blendcolors,
" ", "🬀", "🬁", "🬃", "🬇", "🬏", "🬞", "🬂", // 0..7
"🬄", "🬈", "🬐", "🬟", "🬅", "🬉", "🬑", "🬠", // 8..15
"🬋", "🬓", "🬢", "🬖", "🬦", "🬭", "🬆", "🬊", // 16..23
"🬒", "🬡", "🬌", "", "🬣", "🬗", "🬧", "🬍", // 24..31
"🬒", "🬡", "🬌", "", "🬣", "🬗", "🬧", "🬮", // 24..31
};
static const unsigned partitions[32] = {
0, // 1 way to arrange 0