~mil/sxmo-st

b05045804bac70d885656ba5b3defdb16c484810 — Hiltjo Posthuma 4 years ago 36272e0
code-style: add fallthrough comment

Patch by Steve Ward, thanks.
2 files changed, 2 insertions(+), 0 deletions(-)

M st.c
M x.c
M st.c => st.c +1 -0
@@ 2274,6 2274,7 @@ tcontrolcode(uchar ascii)
		return;
	case '\032': /* SUB */
		tsetchar('?', &term.c.attr, term.c.x, term.c.y);
		/* FALLTHROUGH */
	case '\030': /* CAN */
		csireset();
		break;

M x.c => x.c +1 -0
@@ 1599,6 1599,7 @@ xdrawcursor(int cx, int cy, Glyph g, int ox, int oy, Glyph og)
		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 */