ref: 940115935451666e84f3e972a4fb4a7972b57d91
parent: 90062b313490bdc16705eb1fb6fdf0a94ce23788
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Fri Feb 26 05:19:23 EST 2021
fix recenter going too far with the last track playing
--- a/zuke.c
+++ b/zuke.c
@@ -950,6 +950,8 @@
scroll = pcur - scrollsz/2;
if(scroll < 0)
scroll = 0;
+ else if(scroll >= scrollsz)
+ scroll = scrollsz-1;
}
static void