projects
/
synfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
139b1d4
)
Increase maximum length of gradient ids
author
Nikita Kitaev
<nikitakit@gmail.com>
Fri, 2 Apr 2010 04:01:05 +0000
(21:01 -0700)
committer
Nikita Kitaev
<nikitakit@gmail.com>
Fri, 2 Apr 2010 04:01:05 +0000
(21:01 -0700)
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
patch
|
blob
|
history
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
(file)
--- 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[
4
0];
+ char name[
8
0];
float x1,x2,y1,y2;
std::list<ColorStop*> *stops;
Matrix *transform;
}LinearGradient;
typedef struct radial_g{
- char name[
4
0];
+ char name[
8
0];
float cx,cy;//center point
//float fx,fy; //not supported by Synfig
float r; //radius