summary refs log tree commit diff
path: root/nav.c
diff options
context:
space:
mode:
authorwrmr2024-11-09 16:11:39 -0500
committerwrmr2024-11-09 16:11:39 -0500
commit3f54d883edc90d0e6419210eff6be8125ba89daf (patch)
tree191c787dc1b457048421451d6f17e6c120c59483 /nav.c
parent71a195a0e4f603669657dd4534dbdcccafcd016c (diff)
rename con_lines -> con_rows, add con_size
Diffstat (limited to 'nav.c')
-rw-r--r--nav.c2
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) {