mirror of
https://github.com/alrayyes/st.git
synced 2024-11-26 21:06:23 +00:00
Style fixes in tscrollup.
This commit is contained in:
parent
fe527aa508
commit
16ac85bf54
1 changed files with 4 additions and 3 deletions
1
st.c
1
st.c
|
@ -1414,6 +1414,7 @@ void
|
||||||
tscrollup(int orig, int n) {
|
tscrollup(int orig, int n) {
|
||||||
int i;
|
int i;
|
||||||
Line temp;
|
Line temp;
|
||||||
|
|
||||||
LIMIT(n, 0, term.bot-orig+1);
|
LIMIT(n, 0, term.bot-orig+1);
|
||||||
|
|
||||||
tclearregion(0, orig, term.col-1, orig+n-1);
|
tclearregion(0, orig, term.col-1, orig+n-1);
|
||||||
|
|
Loading…
Reference in a new issue