Fix typo in main.c

fixes-turtlebasket
Mattia Montanari 2023-04-02 12:39:04 +02:00
parent bb5b5d44dd
commit 7a30c42a9c
1 changed files with 3 additions and 3 deletions

View File

@ -68,11 +68,11 @@ readinput(const char* inputfile, gkFloat*** pts, int* out) {
return 1; return 1;
} }
#else #else
if (fscanf_s(fp, "%lf %lf %lf\n", &arr[idx][0], &arr[idx][1], &arr[idx][2]) != 3) {
return 1; return 1;
if (fscanf_s(fp, "%lf %lf %lf\n", &arr[idx][0], &arr[idx][1], &arr[idx][2]) != 3) {} }
#endif #endif
} }
fclose(fp); fclose(fp);
*pts = arr; *pts = arr;