From 65a0059b38729698ce1cd02733d1ec3a7a2125dc Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 7 Nov 2020 05:13:09 -0500 Subject: [PATCH] plots: fix NCBLIT_3x2 for plotting #1104 --- include/notcurses/notcurses.h | 2 +- src/lib/blit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index 8f936a23f..004798687 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -3136,7 +3136,7 @@ struct blitset { ncblitter_e geom; int width; int height; - // the EGCs which form the various levels of a given geometry. if the geometry + // the EGCs which form the various levels of a given plotset. if the geometry // is wide, things are arranged with the rightmost side increasing most // quickly, i.e. it can be indexed as height arrays of 1 + height glyphs. i.e. // the first five braille EGCs are all 0 on the left, [0..4] on the right. diff --git a/src/lib/blit.c b/src/lib/blit.c index 9d3a5fe01..ffb9ab338 100644 --- a/src/lib/blit.c +++ b/src/lib/blit.c @@ -787,7 +787,7 @@ const struct blitset notcurses_blitters[] = { .blit = tria_blit, .name = "halfblock", .fill = false, }, { .geom = NCBLIT_2x2, .width = 2, .height = 2, .egcs = L" ▗▐▖▄▟▌▙█", .blit = quadrant_blit, .name = "quadblitter", .fill = false, }, - { .geom = NCBLIT_3x2, .width = 2, .height = 3, .egcs = L" 🬀🬁🬂🬃🬄🬅🬆🬇🬈🬉🬊🬋🬌🬍🬎🬏🬐🬑🬒🬓🬔🬕🬖🬗🬘🬙🬚🬛🬜🬝🬞🬟🬠🬡🬢🬣🬤🬥🬦🬧🬨🬩🬪🬫🬬🬭🬮🬯🬰🬱🬲🬳🬴🬵🬶🬷🬸🬹🬺🬻█", + { .geom = NCBLIT_3x2, .width = 2, .height = 3, .egcs = L" 🬞🬦▐🬏🬭🬵🬷🬓🬱🬹🬻▌🬲🬺█", .blit = sextant_blit, .name = "sexblitter", .fill = false, }, { .geom = NCBLIT_4x1, .width = 1, .height = 4, .egcs = L" ▂▄▆█", .blit = tria_blit, .name = "fourstep", .fill = false, },