diff --git a/src/winio.c b/src/winio.c index ef18787263049a36b38d010b139e43f798cb0338..7c691fc0ce74c4cfc8fd74f2e054a34847d8010d 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2901,6 +2901,7 @@ void edit_redraw(filestruct *old_current) openfile->current->lineno < openfile->edittop->lineno) { adjust_viewport((focusing || !ISSET(SMOOTH_SCROLL)) ? CENTERING : FLOWING); refresh_needed = TRUE; + return; } #ifndef NANO_TINY