aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2010-08-27 00:05:50 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2010-08-27 00:05:50 +0200
commit42b2912e2151f02e181bd014ce1610f7e03a7d07 (patch)
tree736ca6c6645516c71825d85506c1101451d38281 /st.c
parent5d611cd5476b56884077120bc2a6ba9727fcdd2c (diff)
downloadst-42b2912e2151f02e181bd014ce1610f7e03a7d07.tar.gz
cleaned some spaces.
Diffstat (limited to 'st.c')
-rw-r--r--st.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/st.c b/st.c
index 8b0e510..9667dbd 100644
--- a/st.c
+++ b/st.c
@@ -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;
}
}
remember that computers suck.