[hackers] [st] Consistent FALLTHROUGH comments. || noname

From: <git_AT_suckless.org>
Date: Fri, 02 May 2014 21:51:20 +0200

commit 99fb365aa30e6d9f8fa035f4d2adbc3145fafb00
Author: noname <noname_AT_inventati.org>
Date: Fri Apr 25 18:26:54 2014 +0400

    Consistent FALLTHROUGH comments.

diff --git a/st.c b/st.c
index 7474256..fe44608 100644
--- a/st.c
+++ b/st.c
_AT_@ -1837,7 +1837,7 @@ tsetmode(bool priv, bool set, int *args, int narg) {
                                 if (!allowaltscreen)
                                         break;
                                 tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
- /* FALLTHRU */
+ /* FALLTHROUGH */
                         case 47: /* swap screen */
                         case 1047:
                                 if (!allowaltscreen)
_AT_@ -1851,7 +1851,7 @@ tsetmode(bool priv, bool set, int *args, int narg) {
                                         tswapscreen();
                                 if(*args != 1049)
                                         break;
- /* FALLTRU */
+ /* FALLTHROUGH */
                         case 1048:
                                 tcursor((set) ? CURSOR_SAVE : CURSOR_LOAD);
                                 break;
_AT_@ -2146,7 +2146,7 @@ strhandle(void) {
                         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)) {
Received on Fri May 02 2014 - 21:51:20 CEST

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 22:00:17 CEST