map

minimalist audio player
git clone https://git.porkepik.fr/map
Log | Files | Refs | README | LICENSE

commit 72e9b1d40e51b0e692957174d1da7df7021376cf
parent ea3e86f09f19755dfcd90532b2e0fa1d9ddc0389
Author: Thomas Philippe <dev@porkepik.fr>
Date:   Sat,  5 Sep 2020 05:28:49 +0200

fix current track bold style not resetting properly

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

diff --git a/map.c b/map.c @@ -357,6 +357,7 @@ next: tmpbuf_len = done * 2; gapless = 1; curtrack.close(); + tracks[trackid]->current = 0; trackid++; goto next; } @@ -378,7 +379,6 @@ next: print_timer(timersec, curtrack.length); } while (done); - tracks[trackid]->current = 0; trackid++; endtrack: curtrack.close();