This commit is contained in:
Mylloon 2023-01-27 17:46:34 +01:00
parent 8e3803695a
commit 4a12db6cfd
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -76,14 +76,13 @@ void sok_board_t::load(char *_file) {
break;
}
}
if (read_ok) {
board[board_nbl][nread - 1] = END_OF_LINE;
board_nbl++;
}
}
if (read_ok) {
board[board_nbl][nread - 1] = END_OF_LINE;
board_nbl++;
}
}
free(line);
fclose(fp);
}
free(line);
fclose(fp);
}