git: 9front

Download patch

ref: 9a6dd60d5133825458a9b7a6a223a0ff86e1a73e
parent: 08f8e46b3c72bb2af213c8a4c0db5836133e8668
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Nov 3 10:45:27 EDT 2021

zuke: fix search function ignoring matching artist name

--- a/sys/src/cmd/audio/zuke/zuke.c
+++ b/sys/src/cmd/audio/zuke/zuke.c
@@ -941,6 +941,8 @@
 			if(cistrstr(m->artist[a], buf) != nil)
 				break;
 		}
+		if(a < m->numartist)
+			break;
 		if(m->album != nil && cistrstr(m->album, buf) != nil)
 			break;
 		if(m->title != nil && cistrstr(m->title, buf) != nil)
--