mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
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:
parent
1f4e4b9782
commit
feeb4e8b42
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user