Tidied up commented out code

This commit is contained in:
Bobbi Webber-Manners 2020-08-02 00:13:32 -04:00
parent 827b994dc6
commit d906e23930

View File

@ -798,12 +798,10 @@ void cursor_right(void) {
}
++curscol;
if (curscol == rowlen[cursrow]) {
// if (gapbuf[gapbegin - 1] == EOL) {
if (cursrow == NROWS - 1)
scroll_down();
++cursrow;
curscol = 0;
// }
if (cursrow == NROWS - 1)
scroll_down();
++cursrow;
curscol = 0;
}
gotoxy(curscol, cursrow);
}