diff --git a/ChangeLog b/ChangeLog index defa469e12424affc0b278f13812930ce61b5be7..7b70192dd3b0d39ef93322cb6fa03c4e42a1340e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,9 @@ CVS code - - Added O_EXCL to open call if tmp is set, more security which hopefully fixes any remaining security issues. - Added tmp check to TMP_OPT section (how apropriate). +- winio.c: + edit_add() + - Off by one display error (fix by Rocco Corsi). nano 0.9.22 - 12/02/2000 - General diff --git a/winio.c b/winio.c index 5103ff6ce33d9de40c4a2bf5a906b589c1d7d34b..2925cd74331e53238fbd111696e8589e9e7541c0 100644 --- a/winio.c +++ b/winio.c @@ -761,7 +761,7 @@ void edit_add(filestruct * fileptr, int yval, int start, int virt_cur_x, #endif /* Just paint the string (no mark on this line) */ mvwaddnstr(edit, yval, 0, &fileptr->data[start], - get_page_end_virtual(this_page) - start); + get_page_end_virtual(this_page) - start + 1); } /*