shithub: zuke

Download patch

ref: c23e5b256d2509b8e4a6b25822ee5e8bda5a0d9d
parent: eedf51a19aa55b73b918bb5bd60c9038ca9333ef
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Feb 3 05:18:09 EST 2021

initialize newseekmx so that position does not get stuck at 00:00 at start (thanks Michael Forney)

--- a/zuke.c
+++ b/zuke.c
@@ -72,7 +72,7 @@
 static char *cols = "AatD";
 static int *shuffle;
 static Rectangle seekbar;
-static int seekmx, newseekmx;
+static int seekmx, newseekmx = -1;
 static double seekoff; /* ms */
 static Lock audiolock;
 static int audioerr = 0;