summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/terminfo-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/terminfo-core.c b/src/fe-text/terminfo-core.c
index 0d1a8801..e6ff8ac4 100644
--- a/src/fe-text/terminfo-core.c
+++ b/src/fe-text/terminfo-core.c
@@ -545,10 +545,10 @@ static int term_setup(TERM_REC *term)
/* Scrolling */
if ((term->TI_csr || term->TI_wind) && term->TI_rin && term->TI_indn)
term->scroll = _scroll_region;
- else if ((term->TI_csr || term->TI_wind) && term->TI_ri && term->TI_ind)
- term->scroll = _scroll_region_1;
else if (term->TI_il && term->TI_dl)
term->scroll = _scroll_line;
+ else if ((term->TI_csr || term->TI_wind) && term->TI_ri && term->TI_ind)
+ term->scroll = _scroll_region_1;
else if (term->TI_il1 && term->TI_dl1)
term->scroll = _scroll_line_1;
else {