do_replace_loop()
- Fix various bugs having to do with replace string length
and positioning (David Benbennick).
+ edit_refresh()
+ - Fix cursor being above as well as below the current screen
+ (David Benbennick).
- winio.c:
bottombars()
- Change strcpy of gettext() "Up" string to strncpy of max
if (edittop == NULL)
edittop = current;
- if (current->lineno >= edittop->lineno + editwinrows)
+ if (current->lineno < edittop->lineno ||
+ current->lineno >= edittop->lineno + editwinrows)
/* Note that edit_update() changes edittop so that
* current->lineno = edittop->lineno + editwinrows / 2. Thus
* when it then calls edit_refresh(), there is no danger of