diff options
author | wrmr | 2024-11-09 16:11:39 -0500 |
---|---|---|
committer | wrmr | 2024-11-09 16:11:39 -0500 |
commit | 3f54d883edc90d0e6419210eff6be8125ba89daf (patch) | |
tree | 191c787dc1b457048421451d6f17e6c120c59483 /nav.c | |
parent | 71a195a0e4f603669657dd4534dbdcccafcd016c (diff) |
rename con_lines -> con_rows, add con_size
Diffstat (limited to 'nav.c')
-rw-r--r-- | nav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nav.c b/nav.c index 7d5af9e..1067c8b 100644 --- a/nav.c +++ b/nav.c @@ -51,7 +51,7 @@ void nav_next(struct nav_state *ns) { /* paging */ size_t pg_lines(void) { - return con_lines() - 1; + return con_rows() - 1; } struct doc_line *nav_cur_line(struct nav_state *ns) { |