summaryrefslogtreecommitdiffstats
path: root/DTContents.c
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2019-07-29 23:34:02 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2019-07-29 23:34:02 +0200
commite69c3ee25a0b2f02228511f7cd030784c2de346e (patch)
treecf27c416c52f3b00beaa30ce167810c3718a5aba /DTContents.c
parente774734fd697f6741cb8c52f249f2f2f7adb2fad (diff)
downloadSystem.c4g-e69c3ee25a0b2f02228511f7cd030784c2de346e.tar.gz
System.c4g-e69c3ee25a0b2f02228511f7cd030784c2de346e.zip
Replace arr[GetLength(arr)] with arr[]
Diffstat (limited to 'DTContents.c')
-rw-r--r--DTContents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/DTContents.c b/DTContents.c
index cb49691..9097fed 100644
--- a/DTContents.c
+++ b/DTContents.c
@@ -6,7 +6,7 @@ global func GetContents(bool recursive, object obj)
var ret = [];
for(var i = 0; i < obj->ContentsCount(); ++i)
{
- ret[GetLength(ret)] = obj->Contents(i);
+ ret[] = obj->Contents(i);
if(recursive)
{
ArrayAppendArray(ret, obj->Contents(i)->GetContents(true));