Modification for
This commit is contained in:
parent
b8e99d9d88
commit
16791f2ae5
1 changed files with 1 additions and 2 deletions
|
@ -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++
|
||||
|
|
Loading…
Reference in a new issue