aboutsummaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
authornoname@inventati.org <noname@inventati.org>2015-04-18 18:45:21 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2015-04-20 08:30:49 +0200
commit6ee56d65906362f3f6ade570da0ce9c28788eaf5 (patch)
tree09d3e7866548ed7b6d74365edcd0ceb41021c917 /st.c
parent215bdb2da3eca77ba01b70503c527baaad67c359 (diff)
downloadst-6ee56d65906362f3f6ade570da0ce9c28788eaf5.tar.gz
Place tlinelen type on separate line.
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/st.c b/st.c
index d22c605..bf5b675 100644
--- a/st.c
+++ b/st.c
@@ -673,7 +673,8 @@ y2row(int y) {
return LIMIT(y, 0, term.row-1);
}
-int tlinelen(int y) {
+int
+tlinelen(int y) {
int i = term.col;
if(term.line[y][i - 1].mode & ATTR_WRAP)
remember that computers suck.