USAGE: fix up cell_{on, off}_styles as spotted by grendello

This commit is contained in:
nick black 2020-11-28 17:44:48 -05:00 committed by Nick Black
parent 918520b21e
commit 53e905bb57

View File

@ -1731,13 +1731,13 @@ cell_styles(const cell* c){
// Add the specified styles (in the LSBs) to the cell's existing spec, whether
// they're actively supported or not.
static inline void
cell_styles_on(cell* c, unsigned stylebits){
cell_on_styles(cell* c, unsigned stylebits){
c->stylemask |= (stylebits & NCSTYLE_MASK);
}
// Remove the specified styles (in the LSBs) from the cell's existing spec.
static inline void
cell_styles_off(cell* c, unsigned stylebits){
cell_off_styles(cell* c, unsigned stylebits){
c->stylemask &= ~(stylebits & NCSTYLE_MASK);
}