projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixes for vicons checkin
[goodguy/history.git]
/
cinelerra-5.0
/
cinelerra
/
keyframe.C
diff --git
a/cinelerra-5.0/cinelerra/keyframe.C
b/cinelerra-5.0/cinelerra/keyframe.C
index b115570058ef738dc38739e0982e741188bb335a..68eed16b038e751388b74d7245444d79d5d93a1f 100644
(file)
--- a/
cinelerra-5.0/cinelerra/keyframe.C
+++ b/
cinelerra-5.0/cinelerra/keyframe.C
@@
-231,31
+231,12
@@
void KeyFrame::update_parameter(BC_Hash *params,
}
}
}
}
-
-
// Append parameters to output
output.append_tag();
// Append parameters to output
output.append_tag();
-
// Write anonymous text & duplicate the rest
// Write anonymous text & duplicate the rest
- if(text)
- {
- output.append_text(text);
- }
- else
- {
- output.append_text(this_text);
- }
-
+ output.append_text(text ? text : this_text);
// Append remaining previous data
// Append remaining previous data
- if(extra)
- {
- output.append_text(extra);
- }
- else
- {
- output.append_text(this_extra);
- }
-
+ output.append_data(extra ? extra : this_extra);
// Move output to input
output.terminate_string();
strcpy(this->data, output.string());
// Move output to input
output.terminate_string();
strcpy(this->data, output.string());