Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/nvi/dist/common fix syntax error
details: https://anonhg.NetBSD.org/src/rev/8def19157133
branches: trunk
changeset: 791681:8def19157133
user: christos <christos%NetBSD.org@localhost>
date: Thu Nov 28 03:14:28 2013 +0000
description:
fix syntax error
diffstat:
external/bsd/nvi/dist/common/vi_db.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2d3e981c3c7d -r 8def19157133 external/bsd/nvi/dist/common/vi_db.c
--- a/external/bsd/nvi/dist/common/vi_db.c Thu Nov 28 02:46:37 2013 +0000
+++ b/external/bsd/nvi/dist/common/vi_db.c Thu Nov 28 03:14:28 2013 +0000
@@ -495,7 +495,7 @@
if (ep->c_nlines != OOBLNO)
return (lno <= (F_ISSET(sp, SC_TINPUT) ?
ep->c_nlines + TAILQ_LAST(&sp->tiq, _texth)->lno -
- TAILQ_FIRST(&sp->tiq->lno) : ep->c_nlines));
+ TAILQ_FIRST(&sp->tiq)->lno : ep->c_nlines));
/* Go get the line. */
return (!db_get(sp, lno, 0, NULL, NULL));
Home |
Main Index |
Thread Index |
Old Index