Fix misplaced break
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Sat, 26 Apr 2014 07:30:53 +0000 (09:30 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 28 Apr 2014 16:38:05 +0000 (18:38 +0200)
This misplaced break was causing an incorrect fall through
from DSR to DECSTBM.

st.c

diff --git a/st.c b/st.c
index 2945c1b..bd0c59e 100644 (file)
--- a/st.c
+++ b/st.c
@@ -2087,8 +2087,8 @@ csihandle(void) {
                        len = snprintf(buf, sizeof(buf),"\033[%i;%iR",
                                        term.c.y+1, term.c.x+1);
                        ttywrite(buf, len);
-                       break;
                }
+               break;
        case 'r': /* DECSTBM -- Set Scrolling Region */
                if(csiescseq.priv) {
                        goto unknown;