The meaning of line.

This commit is contained in:
Chris Cromer
2016-10-17 11:31:42 -03:00
parent c1e9a02032
commit 9c97e62e04
5 changed files with 35 additions and 10 deletions

View File

@@ -35,6 +35,11 @@ int readfile(CONFIG *config) {
printf("Start chapter: %d\nEnd chapter: %d\n", start, end);
#endif
if (end != 0 && start > end) {
printf("Archivo de configuración invalido!");
return 1;
}
i = 0;
file = fopen("Biblia.txt", "r");