mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-08-09 14:59:08 +00:00
Also look for and reject \r
Former-commit-id: b6771468e834402acfc3527baf3ad4b15772aac6
This commit is contained in:
parent
e58f41f0c3
commit
d56d702a42
@ -70,7 +70,7 @@ int main(int argc, const char* argv[]) {
|
|||||||
return -4;
|
return -4;
|
||||||
}
|
}
|
||||||
|
|
||||||
build_string[strcspn(build_string, "\n")] = '\0';
|
build_string[strcspn(build_string, "\r\n")] = '\0';
|
||||||
|
|
||||||
/* Get source length */
|
/* Get source length */
|
||||||
fseek(source, 0, SEEK_END);
|
fseek(source, 0, SEEK_END);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user