projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change composer to chroma only - no src alpha blend, resize about pref, new expanders...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
maskauto.C
diff --git
a/cinelerra-5.1/cinelerra/maskauto.C
b/cinelerra-5.1/cinelerra/maskauto.C
index a4b64a849ad537ca796116d353ea9be937581123..1b1f9600e665033da139e1c90be7b9bf44363ee9 100644
(file)
--- a/
cinelerra-5.1/cinelerra/maskauto.C
+++ b/
cinelerra-5.1/cinelerra/maskauto.C
@@
-123,12
+123,11
@@
void SubMask::load(FileXML *file)
else
if(file->tag.title_is("POINT"))
{
else
if(file->tag.title_is("POINT"))
{
- char string[BCTEXTLEN];
- string[0] = 0;
- file->read_text_until("/POINT", string, BCTEXTLEN);
+ XMLBuffer data;
+ file->read_text_until("/POINT", &data);
MaskPoint *point = new MaskPoint;
MaskPoint *point = new MaskPoint;
- char *ptr =
string
;
+ char *ptr =
data.cstr()
;
//printf("MaskAuto::load 1 %s\n", ptr);
point->x = atof(ptr);
//printf("MaskAuto::load 1 %s\n", ptr);
point->x = atof(ptr);