shithub: qk2

Download patch

ref: 2fe611e28b1c3413ba9097c9e90778f388839321
parent: 1e4ae34f57695d9966ca8243c09f81dbb2e35462
author: qwx <[email protected]>
date: Tue Jul 20 21:34:54 EDT 2021

vid: oops

--- a/vid.c
+++ b/vid.c
@@ -207,7 +207,7 @@
 	}
 	s = scale->string;
 	vid.width = strtol(s, &p, 10);
-	if(p == s || vid.width < 320){	/* actual minimum is minimum
+	if(p == s || vid.width < 320){
 		fprint(2, "setscale: invalid width %d\n", vid.width);
 		return;
 	}