Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
870f961
)
Consistent FALLTHROUGH comments.
author
noname <
[email protected]
>
Fri, 25 Apr 2014 14:26:54 +0000
(18:26 +0400)
committer
Roberto E. Vargas Caballero <
[email protected]
>
Fri, 2 May 2014 19:49:52 +0000
(21:49 +0200)
st.c
diff
|
blob
|
history
diff --git
a/st.c
b/st.c
index
7474256
..
fe44608
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-1837,7
+1837,7
@@
tsetmode(bool priv, bool set, int *args, int narg) {
if (!allowaltscreen)
break;
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
if (!allowaltscreen)
break;
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
- /* FALLTHR
U
*/
+ /* FALLTHR
OUGH
*/
case 47: /* swap screen */
case 1047:
if (!allowaltscreen)
case 47: /* swap screen */
case 1047:
if (!allowaltscreen)
@@
-1851,7
+1851,7
@@
tsetmode(bool priv, bool set, int *args, int narg) {
tswapscreen();
if(*args != 1049)
break;
tswapscreen();
if(*args != 1049)
break;
- /* FALLT
RU
*/
+ /* FALLT
HROUGH
*/
case 1048:
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
break;
case 1048:
tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
break;
@@
-2146,7
+2146,7
@@
strhandle(void) {
if(narg < 3)
break;
p = strescseq.args[2];
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)) {
case 104: /* color reset, here p = NULL */
j = (narg > 1) ? atoi(strescseq.args[1]) : -1;
if (!xsetcolorname(j, p)) {