diff options
-rw-r--r-- | src/group.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/group.c b/src/group.c index 11b8d08..e09a21f 100644 --- a/src/group.c +++ b/src/group.c @@ -291,7 +291,10 @@ ganv_group_bounds(GanvItem* item, double* x1, double* y1, double* x2, double* y2 GanvItem* child; GList* list; double tx1, ty1, tx2, ty2; - double minx, miny, maxx, maxy; + double minx = DBL_MAX; + double miny = DBL_MAX; + double maxx = DBL_MIN; + double maxy = DBL_MIN; int set; group = GANV_GROUP(item); |