From 7359ab92230a7b4f05855de50f36aa4880901f3b Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 6 Apr 2020 15:31:58 +0200 Subject: Better sound handling, few changes --- src/ft_exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ft_exit.c') diff --git a/src/ft_exit.c b/src/ft_exit.c index 85c812f..6d93f8e 100644 --- a/src/ft_exit.c +++ b/src/ft_exit.c @@ -49,7 +49,7 @@ static void pthread_join(clist->mtid, NULL); } i = -1; - while (++i < 16) + while (++i < FT_TOTAL_SFX) { pthread_mutex_unlock(&clist->sfx[i].mutex); pthread_cancel(clist->sfx[i].tid); -- cgit v1.2.3