]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 24 Nov 2011 18:57:53 +0000 (18:57 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 24 Nov 2011 18:57:53 +0000 (18:57 +0000)
coders/svg.c

index 4275deb171c7a603c31996cb0f4b40699339b169..9d72fbb500add5a47701dffe768fa6f8606ffae4 100644 (file)
@@ -1092,10 +1092,10 @@ static void SVGStartElement(void *context,const xmlChar *name,
       if (LocaleCompare((const char *) name,"text") == 0)
         {
           (void) FormatLocaleFile(svg_info->file,"push graphic-context\n");
-          svg_info->bounds.x=0;
-          svg_info->bounds.y=0;
-          svg_info->bounds.width=0;
-          svg_info->bounds.height=0;
+          svg_info->bounds.x=0.0;
+          svg_info->bounds.y=0.0;
+          svg_info->bounds.width=0.0;
+          svg_info->bounds.height=0.0;
           break;
         }
       if (LocaleCompare((const char *) name,"tspan") == 0)