summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--st.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/st.c b/st.c
index e55e7b3..6f40e35 100644
--- a/st.c
+++ b/st.c
@@ -965,6 +965,9 @@ tsetdirt(int top, int bot)
965{ 965{
966 int i; 966 int i;
967 967
968 if (term.row <= 0)
969 return;
970
968 LIMIT(top, 0, term.row-1); 971 LIMIT(top, 0, term.row-1);
969 LIMIT(bot, 0, term.row-1); 972 LIMIT(bot, 0, term.row-1);
970 973