aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index 839136d..27536d2 100644
--- a/st.c
+++ b/st.c
@@ -1404,9 +1404,9 @@ stty(void)
1404 if ((n = strlen(s)) > siz-1) 1404 if ((n = strlen(s)) > siz-1)
1405 die("stty parameter length too long\n"); 1405 die("stty parameter length too long\n");
1406 *q++ = ' '; 1406 *q++ = ' ';
1407 q = memcpy(q, s, n); 1407 memcpy(q, s, n);
1408 q += n; 1408 q += n;
1409 siz-= n + 1; 1409 siz -= n + 1;
1410 } 1410 }
1411 *q = '\0'; 1411 *q = '\0';
1412 if (system(cmd) != 0) 1412 if (system(cmd) != 0)