Index: apps/plugins/minesweeper.c =================================================================== --- apps/plugins/minesweeper.c (révision 30992) +++ apps/plugins/minesweeper.c (copie de travail) @@ -533,7 +533,8 @@ { for( j = 0; j < width; j++ ) { - if( rb->rand()%100 < p && !( y==i && x==j ) ) + if( rb->rand()%100 < p + && !( i>=y-1 && i<=y+1 && j>=x-1 && j<=x+1 ) ) { minefield[i][j].mine = 1; mine_num++;