code: plan9front

Download patch

ref: 2d56837b2fabf6a7cc11f02b51f20a1e35128c57
parent: 4584fbf577c30963a958dc79607be3e37b5fab3a
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)