shithub: treason

Download patch

ref: 6126b87a1a875c8aad4effc746f2261c908f8623
parent: 70fe76be55761fdd7905f1b28613e0395243baa6
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Sep 21 12:03:49 EDT 2020

increase max nproc to 4

--- a/main.c
+++ b/main.c
@@ -172,8 +172,8 @@
 	nproc = atoi((s = getenv("NPROC")) != nil ? s : "1");
 	if(nproc < 1)
 		nproc = 1;
-	else if(nproc > 3)
-		nproc = 3;
+	else if(nproc > 4)
+		nproc = 4;
 
 	srand(nanosec());
 	if(initdraw(nil, nil, "treason") < 0)