[hackers] [st] Fix misplaced break || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 28 Apr 2014 18:43:40 +0200

commit 17290f493b3701f57f1e8a1f2d26fc12ab968928
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Sat Apr 26 09:30:53 2014 +0200

    Fix misplaced break
    
    This misplaced break was causing an incorrect fall through
    from DSR to DECSTBM.

diff --git a/st.c b/st.c
index 2945c1b..bd0c59e 100644
--- a/st.c
+++ b/st.c
_AT_@ -2087,8 +2087,8 @@ csihandle(void) {
                         len = snprintf(buf, sizeof(buf),"[%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;
Received on Mon Apr 28 2014 - 18:43:40 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 28 2014 - 18:48:08 CEST