summaryrefslogtreecommitdiff
path: root/sys/src/games
diff options
context:
space:
mode:
authoraiju <devnull@localhost>2018-05-02 22:47:04 +0000
committeraiju <devnull@localhost>2018-05-02 22:47:04 +0000
commit28c519295f3cf6768f46f715c9a38e1739b8e966 (patch)
treec1dc78fc5070a4433e7b0ff5ad0aea5214cd2918 /sys/src/games
parentd05b90f300b79b79eb8462aed9f649d76e432b78 (diff)
games/mines -g: elements taken from list should be -2, not -1
Diffstat (limited to 'sys/src/games')
-rw-r--r--sys/src/games/mines/ghost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/games/mines/ghost.c b/sys/src/games/mines/ghost.c
index 7f6375733..0c24d2ba0 100644
--- a/sys/src/games/mines/ghost.c
+++ b/sys/src/games/mines/ghost.c
@@ -255,7 +255,7 @@ merge(CList **clp, int *nclp, int start, int split)
next: ;
}
qi = q->next;
- q->next = -1;
+ q->next = -2;
}
if(zero != 0){
for(i = 0, j = 0; i < *nclp; i++)