iomenu

interactive text selection menu
Log | Files | Refs | README | LICENSE

commit b0af07b5048120f49051a183572b599be2a64cda
parent 8850bebc9c87d3331bcfcf6139f05821c6f1237e
Author: Josuah Demangeon <mail@josuah.net>
Date:   Mon, 30 Oct 2017 01:03:53 +0100

control.c: fixed page jump bug

Diffstat:
Mcontrol.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/control.c b/control.c @@ -34,7 +34,7 @@ move_page(signed int sign) int i; i = current - current % rows + rows * sign; - if (!(0 < i && i < matchc)) + if (!(0 <= i && i < matchc)) return; current = i - 1; move(+1);