Introduction
Introduction Statistics Contact Development Disclaimer Help
code-style: add fallthrough comment - st - simple terminal
git clone git://git.suckless.org/st
Log
Files
Refs
README
LICENSE
---
commit 914fb825df3bde7abdd7947e54f8bf4d2b55e34e
parent cde480c6939e62771ba3b60ef4eb848031aee9f9
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 9 May 2020 14:43:31 +0200
code-style: add fallthrough comment
Patch by Steve Ward, thanks.
Diffstat:
M st.c | 1 +
M x.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/st.c b/st.c
@@ -2153,6 +2153,7 @@ tcontrolcode(uchar ascii)
return;
case '\032': /* SUB */
tsetchar('?', &term.c.attr, term.c.x, term.c.y);
+ /* FALLTHROUGH */
case '\030': /* CAN */
csireset();
break;
diff --git a/x.c b/x.c
@@ -1528,6 +1528,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyp…
switch (win.cursor) {
case 7: /* st extension: snowman (U+2603) */
g.u = 0x2603;
+ /* FALLTHROUGH */
case 0: /* Blinking Block */
case 1: /* Blinking Block (Default) */
case 2: /* Steady Block */
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.