diff options
author | Aurélien Aptel | 2010-08-27 00:05:50 +0200 |
---|---|---|
committer | Aurélien Aptel | 2010-08-27 00:05:50 +0200 |
commit | 5d4c0add03bfc7f5a0822b679b4b422df152d11f (patch) | |
tree | f300b86cddb9177e228c6c5e7c5fd8511537aa45 /st.c | |
parent | b2e24343bf3a738706c66717379bcb29d87fb9c0 (diff) | |
download | aur-5d4c0add03bfc7f5a0822b679b4b422df152d11f.tar.gz |
cleaned some spaces.
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -440,11 +440,11 @@ tmoveto(int x, int y) { void twrapcursor(void) { int y = term.c.y+1; - if(y > term.bot) { - tmoveto(0, term.bot); - tscroll(); - } else - tmoveto(0, y); + if(y > term.bot) { + tmoveto(0, term.bot); + tscroll(); + } else + tmoveto(0, y); } void @@ -971,10 +971,10 @@ tputc(char c) { break; default: tsetchar(c); - if(term.c.x+1 < term.col) { - tmoveto(term.c.x+1, term.c.y); - } else if(IS_SET(MODE_WRAP)) - twrapcursor(); + if(term.c.x+1 < term.col) { + tmoveto(term.c.x+1, term.c.y); + } else if(IS_SET(MODE_WRAP)) + twrapcursor(); break; } } |