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

front
aiju 2018-05-02 22:47:04 +00:00
parent d05b90f300
commit 28c519295f
1 changed files with 1 additions and 1 deletions

View File

@ -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++)