fix
This commit is contained in:
parent
8e3803695a
commit
4a12db6cfd
1 changed files with 6 additions and 7 deletions
|
@ -76,7 +76,7 @@ void sok_board_t::load(char *_file) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (read_ok) {
|
if (read_ok) {
|
||||||
board[board_nbl][nread - 1] = END_OF_LINE;
|
board[board_nbl][nread - 1] = END_OF_LINE;
|
||||||
board_nbl++;
|
board_nbl++;
|
||||||
|
@ -85,5 +85,4 @@ void sok_board_t::load(char *_file) {
|
||||||
}
|
}
|
||||||
free(line);
|
free(line);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue