USAGE: update ncplane_putsimple_yx() definition

This commit is contained in:
nick black 2020-08-16 15:57:16 -04:00 committed by Nick Black
parent a2c95814b7
commit 03cff6b7fd

View File

@ -902,9 +902,6 @@ ncplane_putc(struct ncplane* n, const cell* c){
static inline int
ncplane_putsimple_yx(struct ncplane* n, int y, int x, char c){
cell ce = CELL_INITIALIZER(c, ncplane_attr(n), ncplane_channels(n));
if(!cell_simple_p(&ce)){
return -1;
}
return ncplane_putc_yx(n, y, x, &ce);
}