Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
while 1 =1 loop fix fucking score endloop
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsKrattinger committed Jan 24, 2019
1 parent 69fed98 commit 93508ea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions p_vue_graph.adb
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ package body p_vue_graph is
fscore : p_score_io.file_type;
i : integer ;
begin
put("avant");
open(fscore, IN_FILE, "score");
put("après if2");
i := 1;
fenetre:= DebutFenetre("Scoreboard",500,600);
if Nbscores(fscore) > 0 then
Expand All @@ -264,11 +266,14 @@ package body p_vue_graph is
end;
else
ajouterTexte(fenetre, "PasJoueur", "Il n'y a aucun score pour l'instant.", 50,50,350,30);
close(fscore);
end if;
ajouterBouton(fenetre, "valider", "Valider", 200 , 560 , 100 , 30);
finFenetre(fenetre);
montrerFenetre(fenetre);
close(fscore);
montrerFenetre(fenetre);
put("après if");

put("après");
if attendreBouton(fenetre) = "valider" then
cacherFenetre(fenetre);
fenetreaccueil;
Expand Down

0 comments on commit 93508ea

Please sign in to comment.