fix limit error code

This commit is contained in:
tovjemam 2024-12-23 14:43:34 +01:00
parent c7eaae547b
commit 6e155817dd

2
main.c
View File

@ -87,7 +87,7 @@ int main(int argc, char *argv[]) {
if (argc > 3) {
if (!parse_range(argv[3], &range)) {
fprintf(stderr, "Invalid format of ranges! The correct format is \"xMin:xMax:yMin:yMax\".\n");
return ERR_INVALID_ARGS;
return ERR_INVALID_LIMITS;
}
}
else {