Commit 8476bf86 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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

parent c92982d6
Showing with 1 addition and 1 deletion
+1 -1
...@@ -516,11 +516,11 @@ void do_down(bool scroll_only) ...@@ -516,11 +516,11 @@ void do_down(bool scroll_only)
refresh_needed = TRUE; refresh_needed = TRUE;
return; return;
} }
}
#else #else
if (openfile->current_y == editwinrows - 1) if (openfile->current_y == editwinrows - 1)
edit_scroll(DOWNWARD, editwinrows / 2 + 1); edit_scroll(DOWNWARD, editwinrows / 2 + 1);
#endif #endif
}
/* If the lines weren't already redrawn, see if they need to be. */ /* If the lines weren't already redrawn, see if they need to be. */
if (openfile->current_y < editwinrows - 1) { if (openfile->current_y < editwinrows - 1) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment