From 53e905bb57f3e515346017dafacef2fdfd4623e1 Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 28 Nov 2020 17:44:48 -0500 Subject: [PATCH] USAGE: fix up cell_{on, off}_styles as spotted by grendello --- USAGE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USAGE.md b/USAGE.md index 2054939cc..13387e460 100644 --- a/USAGE.md +++ b/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); }