shithub: zuke

Download patch

ref: fd78a755ba0b88e03fce01a478f31e12e2212d9e
parent: 73d9cb94c73a8c264cb3f6834828985bd15556d5
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Oct 28 10:11:54 EDT 2020

fix numerical progress background width for streams with no duration

--- a/zuke.c
+++ b/zuke.c
@@ -282,7 +282,7 @@
 		}else{
 			snprint(tmp, sizeof(tmp), "%s%P %d%%",
 				shuffle != nil ? "∫ " : "",
-				getmeta(pcurplaying)->duration/1000,
+				(int)msec/1000,
 				100);
 			w = stringwidth(f, tmp);
 			snprint(tmp, sizeof(tmp), "%s%P %d%%",