[dev] [st][PATCH 3/4] Fix misplaced break

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Mon, 28 Apr 2014 10:25:27 +0200

This misplaced break was causing an incorrect fall through
from DSR to DECSTBM.
---
 st.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/st.c b/st.c
index 33e4277..339d8a9 100644
--- a/st.c
+++ b/st.c
_AT_@ -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;
-- 
1.8.5.3
Received on Mon Apr 28 2014 - 10:25:27 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 28 2014 - 10:36:14 CEST