From 87cac84db23296c8921284212a55c44fc1706f30 Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 25 Feb 2020 02:36:51 -0500 Subject: [PATCH] remove obsolete FIXME --- include/notcurses/notcurses.h | 2 +- src/demo/whiteout.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index b4eb44187..1ce477929 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -890,7 +890,7 @@ API int ncplane_polyfill_yx(struct ncplane* n, int y, int x, const cell* c); // // Preconditions for gradient operations (error otherwise): // -// all: only RGB colors (no defaults, no palette-indexed) +// all: only RGB colors, unless all four channels match // all: all alpha values must be the same // 1x1: all four colors must be the same // 1xN: both top and both bottom colors must be the same (vertical gradient) diff --git a/src/demo/whiteout.c b/src/demo/whiteout.c index 2c8e9e8f8..106e6d147 100644 --- a/src/demo/whiteout.c +++ b/src/demo/whiteout.c @@ -106,7 +106,6 @@ wormy(worm* s, int dimy, int dimx){ do{ // force a move s->y = oldy; s->x = oldx; - // FIXME he ought be weighted to avoid light; he's a worm after all int direction = random() % 4; switch(direction){ case 0: --s->y; break;