From c554bacfb7f73dc96a2f05e2c06597f6db5f5091 Mon Sep 17 00:00:00 2001 From: L0ol4X Date: Fri, 11 Nov 2022 11:31:36 +0100 Subject: [PATCH] change main() to Index() --- commun.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commun.c b/commun.c index ae345bd..98c5e1c 100644 --- a/commun.c +++ b/commun.c @@ -100,7 +100,7 @@ void GereAdhérent(void) ret = FindN(tAd, numAd, tpasseoupas, 500); if (ret == -1) { - main(); + Index(); } } @@ -417,7 +417,7 @@ void Loop(int *tAd, char tnom[][15], char tpnom[][15], int *tage, int *tstate, i while (*choix != 4) { - if (*choix == 2) + if (*choix == 2) { printf("La carte dispose de %d points.\n", tptsbought[place]);//infos sur ses points }