aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsplines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsplines.c b/bsplines.c
index 8abb53a..e9802ba 100644
--- a/bsplines.c
+++ b/bsplines.c
@@ -108,7 +108,7 @@ main(int argc, char *argv[])
redraw();
}
if((e.mouse.buttons&4) != 0){
- if(npt > 1){
+ if(npt > 2){
b.pts = pts;
b.npt = npt;
bsplines = realloc(bsplines, ++nbspline*sizeof(Bspline));