git: 9front

Download patch

ref: f4a3683f36a52224dc7d71828fe0c198997e6403
parent: a24b3e5f7948af41d68384411da112f5d2275016
author: aiju <devnull@localhost>
date: Wed May 2 18:47:04 EDT 2018

games/mines -g: elements taken from list should be -2, not -1

--- a/sys/src/games/mines/ghost.c
+++ b/sys/src/games/mines/ghost.c
@@ -255,7 +255,7 @@
 		next: ;
 		}
 		qi = q->next;
-		q->next = -1;
+		q->next = -2;
 	}
 	if(zero != 0){
 		for(i = 0, j = 0; i < *nclp; i++)
--