From a18762258badd47a988ea3b39a44a832524dcd1e Mon Sep 17 00:00:00 2001 From: lclausen Date: Mon, 13 Nov 2006 06:21:12 +0000 Subject: [PATCH] Now resets arrow sizes for illegal arrows. --- lib/arrows.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/arrows.c b/lib/arrows.c index cde27843..cf151556 100644 --- a/lib/arrows.c +++ b/lib/arrows.c @@ -1882,6 +1882,8 @@ sanitize_arrow(Arrow *arrow) arrow->width < MIN_ARROW_DIMENSION || arrow->type < 0 || arrow->type > MAX_ARROW_TYPE) { arrow->type = ARROW_NONE; + arrow->width = DEFAULT_ARROW_WIDTH; + arrow->length = DEFAULT_ARROW_LENGTH; } } -- 2.11.4.GIT