From 4d55caff4cc89335192f3e566004b4ceef572521 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Wed, 17 May 2006 23:52:45 +0200 Subject: [PATCH] Make sense of the comment about view->win height --- tig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tig.c b/tig.c index c50bbf0..e57206c 100644 --- a/tig.c +++ b/tig.c @@ -773,9 +773,9 @@ resize_display(void) offset = 0; foreach_view (view, i) { - /* Keep the size of the all view windows one lager than is - * required. This makes current line management easier when the - * cursor will go outside the window. */ + /* Keep the height of all view->win windows one larger than is + * required so that the cursor can wrap-around on the last line + * without scrolling the window. */ if (!view->win) { view->win = newwin(view->height + 1, 0, offset, 0); if (!view->win) -- 2.30.2