summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2019-07-29 23:34:02 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2019-07-30 00:13:56 +0200
commit6f9320d56db059ec839feaa97f62170c8f88ead5 (patch)
treec6dad3914b8206ff07e9d3f13d9c31dffaff0cdb
parent9868c494c74fd35adfec8dd2a9720329e082cc44 (diff)
downloadDTMenuDebug.c4d-6f9320d56db059ec839feaa97f62170c8f88ead5.tar.gz
DTMenuDebug.c4d-6f9320d56db059ec839feaa97f62170c8f88ead5.zip
Replace arr[GetLength(arr)] with arr[]
-rw-r--r--Script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Script.c b/Script.c
index 394c454..b51308d 100644
--- a/Script.c
+++ b/Script.c
@@ -2283,7 +2283,7 @@ func UncombineAndDistinguish(array combined, array &settings, array &entries)
}
else if(val[0] == DT_Menu_Type_Entry || val[0] == DT_Menu_Type_Factory || val[0] == DT_Menu_Type_Columns)
{
- entries[GetLength(entries)] = val;
+ entries[] = val;
}
else if(val[0] == DT_Menu_Combined)
{