optimisation mémoire timer.c

This commit is contained in:
Marco ORFAO 2023-12-11 10:49:53 +01:00
parent 551c22f521
commit 11d4d230d0
2 changed files with 2 additions and 4 deletions

View File

@ -48,8 +48,6 @@ int main(void){
InitialiserGraphique();
CreerFenetre(0, 0, 1200, 1000);
ChoisirTitreFenetre("Snake By Moncef & Marco");
menus();
return EXIT_SUCCESS;
}

View File

@ -11,7 +11,7 @@ void initialiser_timer(int *min, int *sec) {
}
int afficher_seconde(int sec){
char timer[50];
char timer[4];
int x = 230 ,y = 850;
if(sec<=9){
ChoisirCouleurDessin(CouleurParComposante(0, 0, 0));
@ -31,7 +31,7 @@ int afficher_seconde(int sec){
}
int afficher_minute(int min){
char timer[50];
char timer[4];
int x = 190 ,y = 850;
if(min<=9){
ChoisirCouleurDessin(CouleurParComposante(0, 0, 0));