tweaks: fix compilation when configured with --enable-tiny

This commit is contained in:
Benno Schulenberg 2016-10-15 18:05:01 +02:00
parent c92982d60f
commit 8476bf86a1
1 changed files with 1 additions and 1 deletions

View File

@ -516,11 +516,11 @@ void do_down(bool scroll_only)
refresh_needed = TRUE;
return;
}
}
#else
if (openfile->current_y == editwinrows - 1)
edit_scroll(DOWNWARD, editwinrows / 2 + 1);
#endif
}
/* If the lines weren't already redrawn, see if they need to be. */
if (openfile->current_y < editwinrows - 1) {