shithub: qk1

Download patch

ref: 6405b2a349f9ceb8b8678c81535e72843b848b6e
parent: b478d66c58707eb392d7132ab3106a2c1b2cacfd
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Tue Oct 22 13:19:39 EDT 2024

Con_SearchObject: don't confuse kencc

--- a/console.c
+++ b/console.c
@@ -71,6 +71,7 @@
 	for(n = 0;;){
 		if(qpnext(conobj, &k, &len, &v) < 0)
 			break;
+		c = -1;
 		if(len0 == 0 || (len >= len0 && (c = strncmp(k, prefix, len0)) == 0)){
 			f(k, v, aux);
 			n++;