From fadf9f60556df4f47aa21c52ade8eb509abf0152 Mon Sep 17 00:00:00 2001 From: erg Date: Fri, 16 Mar 2007 20:40:11 +0000 Subject: [PATCH] Fix incorrect circle sizing reported in bug 1096. --- plugin/core/gvrender_core_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/core/gvrender_core_map.c b/plugin/core/gvrender_core_map.c index 5e04743d7..3653d9f3e 100644 --- a/plugin/core/gvrender_core_map.c +++ b/plugin/core/gvrender_core_map.c @@ -126,7 +126,7 @@ static void map_output_shape (GVJ_t *job, map_shape_t map_shape, pointf * AF, in core_fputs(job, " coords=\""); switch (map_shape) { case MAP_CIRCLE: - core_printf(job, "%d,%d,%d", A[0].x, A[0].y, A[1].x); + core_printf(job, "%d,%d,%d", A[0].x, A[0].y, A[1].x-A[0].x); break; case MAP_RECTANGLE: /* Y_GOES_DOWN so need UL to LR */ -- 2.40.0