Module: synfig
Branch: nikitakit_svg
Commit: f2e48855345b9e291522c9be9e14fb07e0bf6d09
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=f2e48855345b9e291522c9be9e14fb07e0bf6d09

Author: Nikita Kitaev <[email protected]>
Date:   Thu Apr  1 21:01:05 2010 -0700

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.)

---

 synfig-core/src/modules/mod_svg/svg_parser.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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<ColorStop*> *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


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to