diff options
| author | noname <noname@inventati.org> | 2014-04-25 18:26:54 +0400 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-05-02 21:49:52 +0200 |
| commit | 99fb365aa30e6d9f8fa035f4d2adbc3145fafb00 (patch) | |
| tree | b5e6c7b73eaf5854fd0e776f3cd64bc140453ef7 /st.c | |
| parent | 870f961c49d3f9dfea8d78666e73fcdd0f90cc57 (diff) | |
| download | st-99fb365aa30e6d9f8fa035f4d2adbc3145fafb00.tar.gz st-99fb365aa30e6d9f8fa035f4d2adbc3145fafb00.zip | |
Consistent FALLTHROUGH comments.
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1837,7 +1837,7 @@ tsetmode(bool priv, bool set, int *args, int narg) { | |||
| 1837 | if (!allowaltscreen) | 1837 | if (!allowaltscreen) |
| 1838 | break; | 1838 | break; |
| 1839 | tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); | 1839 | tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); |
| 1840 | /* FALLTHRU */ | 1840 | /* FALLTHROUGH */ |
| 1841 | case 47: /* swap screen */ | 1841 | case 47: /* swap screen */ |
| 1842 | case 1047: | 1842 | case 1047: |
| 1843 | if (!allowaltscreen) | 1843 | if (!allowaltscreen) |
| @@ -1851,7 +1851,7 @@ tsetmode(bool priv, bool set, int *args, int narg) { | |||
| 1851 | tswapscreen(); | 1851 | tswapscreen(); |
| 1852 | if(*args != 1049) | 1852 | if(*args != 1049) |
| 1853 | break; | 1853 | break; |
| 1854 | /* FALLTRU */ | 1854 | /* FALLTHROUGH */ |
| 1855 | case 1048: | 1855 | case 1048: |
| 1856 | tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); | 1856 | tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD); |
| 1857 | break; | 1857 | break; |
| @@ -2146,7 +2146,7 @@ strhandle(void) { | |||
| 2146 | if(narg < 3) | 2146 | if(narg < 3) |
| 2147 | break; | 2147 | break; |
| 2148 | p = strescseq.args[2]; | 2148 | p = strescseq.args[2]; |
| 2149 | /* fall through */ | 2149 | /* FALLTHROUGH */ |
| 2150 | case 104: /* color reset, here p = NULL */ | 2150 | case 104: /* color reset, here p = NULL */ |
| 2151 | j = (narg > 1) ? atoi(strescseq.args[1]) : -1; | 2151 | j = (narg > 1) ? atoi(strescseq.args[1]) : -1; |
| 2152 | if (!xsetcolorname(j, p)) { | 2152 | if (!xsetcolorname(j, p)) { |
