Skip to content

Commit

Permalink
Applications/util/less.c: Removed unused argument to paint_line().
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Toomey committed Jan 23, 2025
1 parent a1788e9 commit b88e1fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Applications/util/less.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ char *attrbuf = NULL;
/* Print out a single line. The cursor has been positioned */
/* at the start of the correct line on the screen. */
/* We have to interpret any backspace character in the input buffer */
void paint_line(struct lineposn *this, int newline) {
void paint_line(int newline) {
char *lineptr = linebuf;
char *attrptr = attrbuf;
char *bufptr;
Expand Down Expand Up @@ -338,7 +338,7 @@ void paint_screen(struct lineposn *this) {
if (this == NULL) return;
if (this->next == NULL) append_offsets(this, rows - i);
if (i == rows - 1) newline = 0;
paint_line(this, newline);
paint_line(newline);
this = this->next;
}
}
Expand Down

0 comments on commit b88e1fb

Please sign in to comment.