From: Nikita Kitaev Date: Fri, 2 Apr 2010 04:01:05 +0000 (-0700) Subject: Increase maximum length of gradient ids X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f2e48855345b9e291522c9be9e14fb07e0bf6d09;p=synfig.git Increase maximum length of gradient ids They are cut short when alloted memory runs out. (It may be a good idea to use strings instead of char arrays.) --- diff --git a/synfig-core/src/modules/mod_svg/svg_parser.h b/synfig-core/src/modules/mod_svg/svg_parser.h index a1190d8..3ac8f9b 100644 --- a/synfig-core/src/modules/mod_svg/svg_parser.h +++ b/synfig-core/src/modules/mod_svg/svg_parser.h @@ -65,13 +65,13 @@ typedef struct stop_t{ float pos; }ColorStop; typedef struct linear_g{ - char name[40]; + char name[80]; float x1,x2,y1,y2; std::list *stops; Matrix *transform; }LinearGradient; typedef struct radial_g{ - char name[40]; + char name[80]; float cx,cy;//center point //float fx,fy; //not supported by Synfig float r; //radius