]> git.armaanb.net Git - st.git/blobdiff - x.c
code-style: add fallthrough comment
[st.git] / x.c
diff --git a/x.c b/x.c
index cbbd11f0c407dadb615f8ba10ce46a92e9312c7f..1dc44d65cd2fc114ec9791df6e325d2bd7dfdc04 100644 (file)
--- a/x.c
+++ b/x.c
@@ -1528,6 +1528,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 */
@@ -1927,7 +1928,7 @@ run(void)
                 * triggers drawing, we first wait a bit to ensure we got
                 * everything, and if nothing new arrives - we draw.
                 * We start with trying to wait minlatency ms. If more content
-                * arrives sooner, we retry with shorter and shorter preiods,
+                * arrives sooner, we retry with shorter and shorter periods,
                 * and eventually draw even without idle after maxlatency ms.
                 * Typically this results in low latency while interacting,
                 * maximum latency intervals during `cat huge.txt`, and perfect