--- 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 _AT_@ -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.4Received on Sun Apr 27 2014 - 14:03:44 CEST
This archive was generated by hypermail 2.3.0 : Sun Apr 27 2014 - 14:12:06 CEST