From 16cbf3ad88ff8f5d7df525f34a7e1b4de15a812e Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Sat, 8 Dec 2018 16:09:33 -0300 Subject: [PATCH] fix incorrect check --- src/points.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/points.c b/src/points.c index 2718766..3117d2a 100644 --- a/src/points.c +++ b/src/points.c @@ -121,7 +121,7 @@ int main (int argc, char **argv) { if (filename != NULL) { free(filename); } - if (opt > 3) { + if (opt > 4) { // Only print this error if the file was able to be opened fprintf(stderr, "Error: El archivo es corrupto!\n"); }