diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-14 14:32:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-14 14:32:14 +0000 |
commit | e72e0caf9949be20b3d5416648a902ab3fe9c588 (patch) | |
tree | f936d1baed48a9a00a12704254f77061e3d239ad /libs/ardour/diskstream.cc | |
parent | 84a2923794c76525856909c0b73d46c27106ccfc (diff) |
fix for restoring destructive-ness on session reload using flags, plus an edit/mix group fix to avoid gtk error msgs
git-svn-id: svn://localhost/trunk/ardour2@391 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/diskstream.cc')
-rw-r--r-- | libs/ardour/diskstream.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/diskstream.cc b/libs/ardour/diskstream.cc index 78f6d13335..cd67659290 100644 --- a/libs/ardour/diskstream.cc +++ b/libs/ardour/diskstream.cc @@ -2048,8 +2048,8 @@ DiskStream::set_state (const XMLNode& node) } } - if ((prop = node.property ("_flags")) != 0) { - _flags = atoi (prop->value().c_str()); + if ((prop = node.property ("flags")) != 0) { + _flags = strtol (prop->value().c_str(), 0, 0); } if ((prop = node.property ("channels")) != 0) { |