From 139e267bbcfdca8f944c1c3cf6531b061003e8c1 Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Fri, 21 Nov 2014 16:26:17 -0500 Subject: [PATCH] Fix an error --- drawing/drawing.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drawing/drawing.pde b/drawing/drawing.pde index b00a0fa..1336647 100644 --- a/drawing/drawing.pde +++ b/drawing/drawing.pde @@ -120,7 +120,7 @@ void mouse_over_BUTTON(){ void mouseClicked(){ if(check_mouse_over_button(rectX1,rectY1,rectheight,rectwidth)){ //draw edges should be implemented by pressing button. - if (G.V.size()<=3) throw new RuntimeException("Requires at least 5 points"); + if (G.V.size()<=3) throw new RuntimeException("Requires at least 4 points"); for(int i=0;i