shithub: zuke

Download patch

ref: ebbddfea84efee38eb49ebc8165bc20c13f5950e
parent: 28593db7fff162829ff8aa5ddeab86dcb4d70482
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Jun 1 13:34:51 EDT 2020

treat any read error and eof the same when switching to the next track or rewinding

--- a/zuke.c
+++ b/zuke.c
@@ -510,7 +510,7 @@
 			redraw(0);
 	}
 
-	if(n == 0){ /* seeking backwards or end of the song */
+	if(n < 1){ /* seeking backwards or end of the song */
 		close(p[1]);
 		if(c != Cbackward && c != Cbackwardfast){
 			playercurr = nil;