mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
USAGE: fix up cell_{on, off}_styles as spotted by grendello
This commit is contained in:
parent
918520b21e
commit
53e905bb57
4
USAGE.md
4
USAGE.md
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user