minor changes
This commit is contained in:
parent
a7af9d8581
commit
ff605199bd
2
ste.c
2
ste.c
@ -254,8 +254,8 @@ void drawLines (void)
|
|||||||
//lnMove(0, 0);
|
//lnMove(0, 0);
|
||||||
|
|
||||||
for (i = 0, ln = 0; i < t.dim.y; i++) {
|
for (i = 0, ln = 0; i < t.dim.y; i++) {
|
||||||
if (i >= rows.rownum - 1) break;
|
|
||||||
ln = i + t.cur.off_y;
|
ln = i + t.cur.off_y;
|
||||||
|
if (ln >= rows.rownum) break;
|
||||||
|
|
||||||
/* Draw the line number */
|
/* Draw the line number */
|
||||||
attron(COLOR_PAIR(1));
|
attron(COLOR_PAIR(1));
|
||||||
|
Loading…
Reference in New Issue
Block a user