mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
fix up deserialization of _ancestral_length
git-svn-id: svn://localhost/ardour2/branches/3.0@5148 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ec222cc429
commit
a77aa6fce8
1 changed files with 1 additions and 1 deletions
|
|
@ -1282,7 +1282,7 @@ Region::set_live_state (const XMLNode& node, Change& what_changed, bool send)
|
|||
}
|
||||
|
||||
if ((prop = node.property ("ancestral-length")) != 0) {
|
||||
_ancestral_length = atoi (prop->value());
|
||||
_ancestral_length = strtoll (prop->value().c_str(), 0, 10);
|
||||
} else {
|
||||
_ancestral_length = _length;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue