diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2004-06-21 14:08:57 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2004-06-21 14:08:57 +0000 |
commit | e728a5bc3db296b4b67c2d3e5b56558c42c566a8 (patch) | |
tree | 180656eeb13352bc2cee7fb759e2ff74332069d2 /externals/grill/flext/source/flatom_part.cpp | |
parent | cefab503b7db648244a4244ef255d15609e2c205 (diff) |
""
svn path=/trunk/; revision=1826
Diffstat (limited to 'externals/grill/flext/source/flatom_part.cpp')
-rwxr-xr-x | externals/grill/flext/source/flatom_part.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/externals/grill/flext/source/flatom_part.cpp b/externals/grill/flext/source/flatom_part.cpp index 05a3710d..e5c9c533 100755 --- a/externals/grill/flext/source/flatom_part.cpp +++ b/externals/grill/flext/source/flatom_part.cpp @@ -16,22 +16,22 @@ WARRANTIES, see the file, "license.txt," in this distribution. int flext::AtomList::Get(t_atom *argv,int mxsz) const { - int argc = Count(); - if(mxsz >= 0 && argc > mxsz) argc = mxsz; + int argc = Count(); + if(mxsz >= 0 && argc > mxsz) argc = mxsz; - for(int i = 0; i < argc; ++i) SetAtom(argv[i],lst[i]); + for(int i = 0; i < argc; ++i) SetAtom(argv[i],lst[i]); - return argc; + return argc; } flext::AtomList flext::AtomList::GetPart(int offs,int len) const { - if(offs+len > Count()) { - len = Count()-offs; - if(len < 0) len = 0; - } + if(offs+len > Count()) { + len = Count()-offs; + if(len < 0) len = 0; + } - return AtomList(len,Atoms()+offs); + return AtomList(len,Atoms()+offs); } |