From feeb4e8b42c8aa7b739b3170780920838e0ece9c Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 28 Dec 2024 10:39:53 -0500 Subject: [PATCH] sexblitter: fix inverted characters 32+64 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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). --- src/lib/blit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/blit.c b/src/lib/blit.c index f8636cc7e..5b21f9df5 100644 --- a/src/lib/blit.c +++ b/src/lib/blit.c @@ -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