]> git.neil.brown.name Git - edlib.git/commit
ncurses: don't look past the end of an image.
authorNeilBrown <neil@brown.name>
Fri, 6 Oct 2023 22:02:48 +0000 (09:02 +1100)
committerNeilBrown <neil@brown.name>
Sat, 7 Oct 2023 01:06:37 +0000 (12:06 +1100)
commit079fd1b89fff0305d2533dc13a503166c862ae6e
treee9e6e78fb3d03c4b73083a315f11dd328a4058c4
parent02385a55e59e5808c81ebd4fe28b40f132231675
ncurses: don't look past the end of an image.

If the image is an odd number of rows, we need to use something else for
the last row displayed.

Signed-off-by: NeilBrown <neil@brown.name>
display-ncurses.c