This website works better with JavaScript.
Home
Help
Register
Sign In
UBB
/
points
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1
Wiki
Activity
Browse Source
check for minimum of 2 points
pull/1/head
Chris Cromer
2 years ago
parent
c24a2a2fee
commit
0edcd7f4a8
Signed by:
cromer
GPG Key ID:
39CC813FF3C8708A
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/read_file.c
+ 1
- 1
src/read_file.c
View File
@ -250,7 +250,7 @@ int read_file(char *filename, point_t **points, unsigned int *n) {
buffer
=
NULL
;
size
=
0
;
}
if
(
j
<
*
n
)
{
if
(
j
<
*
n
|
|
*
n
<
2
)
{
fprintf
(
stderr
,
"
Error: No hay suficiente puntos!
\n
"
)
;
return
9
;
}
Write
Preview
Loading…
Cancel
Save