diff options
author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-27 00:05:50 +0200 |
---|---|---|
committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2010-08-27 00:05:50 +0200 |
commit | 8db9a192e52d6cb7ba5b577461ede2cd0b45a34e (patch) | |
tree | 736ca6c6645516c71825d85506c1101451d38281 | |
parent | 85a94e2db91fd7464c8ec5be6835729c6f60e574 (diff) | |
download | st-8db9a192e52d6cb7ba5b577461ede2cd0b45a34e.tar.gz st-8db9a192e52d6cb7ba5b577461ede2cd0b45a34e.tar.bz2 |
cleaned some spaces.
-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; } } |