all repos — st @ 99fb365aa30e6d9f8fa035f4d2adbc3145fafb00

st (suckless terminal) config

Consistent FALLTHROUGH comments.
noname noname@inventati.org
commit

99fb365aa30e6d9f8fa035f4d2adbc3145fafb00

parent

870f961c49d3f9dfea8d78666e73fcdd0f90cc57

1 files changed, 3 insertions(+), 3 deletions(-)

jump to
M st.cst.c

@@ -1837,7 +1837,7 @@ case 1049: /* swap screen & set/restore cursor as xterm */

if (!allowaltscreen) break; tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); - /* FALLTHRU */ + /* FALLTHROUGH */ case 47: /* swap screen */ case 1047: if (!allowaltscreen)

@@ -1851,7 +1851,7 @@ if(set ^ alt) /* set is always 1 or 0 */

tswapscreen(); if(*args != 1049) break; - /* FALLTRU */ + /* FALLTHROUGH */ case 1048: tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); break;

@@ -2146,7 +2146,7 @@ case 4: /* color set */

if(narg < 3) break; p = strescseq.args[2]; - /* fall through */ + /* FALLTHROUGH */ case 104: /* color reset, here p = NULL */ j = (narg > 1) ? atoi(strescseq.args[1]) : -1; if (!xsetcolorname(j, p)) {