From 3f54d883edc90d0e6419210eff6be8125ba89daf Mon Sep 17 00:00:00 2001 From: wrmr Date: Sat, 9 Nov 2024 16:11:39 -0500 Subject: rename con_lines -> con_rows, add con_size --- nav.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nav.c') 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) { -- cgit 1.4.1-2-gfad0