mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-09-29 08:56:25 +00:00
Tidied up commented out code
This commit is contained in:
parent
827b994dc6
commit
d906e23930
10
apps/edit.c
10
apps/edit.c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user