Modification for

This commit is contained in:
rick 2021-04-18 12:33:01 +02:00
parent b8e99d9d88
commit 16791f2ae5
Signed by: Rick
GPG key ID: 2B593F087240EE99

View file

@ -38,9 +38,8 @@ func p_partie(file *os.File) {
nbMaison := 1
listeMaison := list.New()
listeMaison.PushFront(pred)
char, _, err := reader.ReadRune()
for err != io.EOF {
for char, _, err := reader.ReadRune(); err != io.EOF; {
switch string(char) {
case "^":
pred.y++