From 265fd76b4b1fbf42816f00171ee509556c86b65b Mon Sep 17 00:00:00 2001 From: losinshi Date: Thu, 21 Sep 2006 18:26:55 +0000 Subject: [PATCH] chart... git-svn-id: file:///home/jan/tmp/wetterstation/trunk@125 dd492736-c11a-0410-ad51-8c26713eaf7f --- cronjob/chart/image_file/image_draw.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cronjob/chart/image_file/image_draw.c b/cronjob/chart/image_file/image_draw.c index bed0cde..549caa5 100644 --- a/cronjob/chart/image_file/image_draw.c +++ b/cronjob/chart/image_file/image_draw.c @@ -213,18 +213,13 @@ static gdImagePtr draw_image(gdImagePtr img){ temp_y1 = img_cfg.height - offset_y_bottom; } for (; pix_list; pix_list = pix_list->next){ - i = 1; temp_x1 = pix_list->x_pix_coord + offset_x_left; if (pix_list->next != NULL){ temp_x2 = pix_list->next->x_pix_coord + offset_x_left; - if(pix_list->next->no_line){ - i = 0; - } } else { temp_x2 = offset_x_left + dia_width; } - if(i) - gdImageFilledRectangle(img, temp_x1 + 3, (offset_y_top + pix_list->y_pix_coord), temp_x2 - 3 , temp_y1 , val_line_c); + gdImageFilledRectangle(img, temp_x1 + 3, (offset_y_top + pix_list->y_pix_coord), temp_x2 - 3 , temp_y1 , val_line_c); } }