changeset: 94:b4e1900ab131
tag: tip
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Fri Aug 27 00:05:50 2010 +0200
files: st.c
description:
cleaned some spaces.
diff -r 442be76a559c -r b4e1900ab131 st.c
--- a/st.c Thu Aug 26 23:43:08 2010 +0200
+++ b/st.c Fri Aug 27 00:05:50 2010 +0200
@@ -440,11 +440,11 @@
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 @@
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;
}
}
Received on Thu Aug 26 2010 - 22:06:20 CEST
This archive was generated by hypermail 2.2.0 : Thu Aug 26 2010 - 22:12:04 CEST