Fix typo in main.c
parent
bb5b5d44dd
commit
7a30c42a9c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue