mirror of
https://github.com/alrayyes/st.git
synced 2024-11-22 19:26:22 +00:00
Consistent FALLTHROUGH comments.
This commit is contained in:
parent
870f961c49
commit
99fb365aa3
1 changed files with 3 additions and 3 deletions
6
st.c
6
st.c
|
@ -1837,7 +1837,7 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
||||||
if (!allowaltscreen)
|
if (!allowaltscreen)
|
||||||
break;
|
break;
|
||||||
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
|
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
|
||||||
/* FALLTHRU */
|
/* FALLTHROUGH */
|
||||||
case 47: /* swap screen */
|
case 47: /* swap screen */
|
||||||
case 1047:
|
case 1047:
|
||||||
if (!allowaltscreen)
|
if (!allowaltscreen)
|
||||||
|
@ -1851,7 +1851,7 @@ tsetmode(bool priv, bool set, int *args, int narg) {
|
||||||
tswapscreen();
|
tswapscreen();
|
||||||
if(*args != 1049)
|
if(*args != 1049)
|
||||||
break;
|
break;
|
||||||
/* FALLTRU */
|
/* FALLTHROUGH */
|
||||||
case 1048:
|
case 1048:
|
||||||
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
|
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
|
||||||
break;
|
break;
|
||||||
|
@ -2146,7 +2146,7 @@ strhandle(void) {
|
||||||
if(narg < 3)
|
if(narg < 3)
|
||||||
break;
|
break;
|
||||||
p = strescseq.args[2];
|
p = strescseq.args[2];
|
||||||
/* fall through */
|
/* FALLTHROUGH */
|
||||||
case 104: /* color reset, here p = NULL */
|
case 104: /* color reset, here p = NULL */
|
||||||
j = (narg > 1) ? atoi(strescseq.args[1]) : -1;
|
j = (narg > 1) ? atoi(strescseq.args[1]) : -1;
|
||||||
if (!xsetcolorname(j, p)) {
|
if (!xsetcolorname(j, p)) {
|
||||||
|
|
Loading…
Reference in a new issue