diff options
| -rw-r--r-- | more.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,8 +70,8 @@ enum { static ssize_t more_getline(struct more_file *mf, size_t lineno) { if (mf->nlines <= lineno && mf->nlines != 0) { - fsetpos(mf->f, &(mf->tlines[mf->nlines - 1])); - getline(&(mf->buf), &(mf->nbuf), mf->f); + fsetpos(mf->backing, &(mf->tlines[mf->nlines - 1])); + getline(&(mf->buf), &(mf->nbuf), mf->backing); } while (mf->nlines <= lineno) { |
