---
st.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/st.c b/st.c
index 2750bfa..689dce0 100644
--- a/st.c
+++ b/st.c
@@ -2267,11 +2267,11 @@ tputtab(int n) {
if(n > 0) {
while(x < term.col && n--)
- for(++x; x < term.col && !term.tabs[x]; ++x)
+ while(++x < term.col && !term.tabs[x])
/* nothing */ ;
} else if(n < 0) {
while(x > 0 && n++)
- for(--x; x > 0 && !term.tabs[x]; --x)
+ while(--x > 0 && !term.tabs[x])
/* nothing */ ;
}
tmoveto(x, term.c.y);
--
1.8.4- [dev] [st PATCH] Simplify tputtab. noname
- Re: [dev] [st PATCH] Simplify tputtab. Roberto E. Vargas Caballero
- Re: [dev] [st PATCH] Simplify tputtab... noname
- Re: [dev] [st PATCH] Simplify tpu... Roberto E. Vargas Caballero
