summaryrefslogtreecommitdiffstats
path: root/System.c4g/DTCallback.c
diff options
context:
space:
mode:
authorMarkus Mittendrein <maxmitti@maxmitti.tk>2022-02-20 17:13:55 +0100
committerMarkus Mittendrein <maxmitti@maxmitti.tk>2022-02-20 17:13:55 +0100
commit4ffbace3cc065a7272bc6a7b205a7ef18a249192 (patch)
tree1ee83bb4d76339f24cdce6b1ed6d05b34bf227f2 /System.c4g/DTCallback.c
parent497fe739cf81cb73630098e629cb5a96f02c755a (diff)
downloadObjectsAppend-4ffbace3cc065a7272bc6a7b205a7ef18a249192.tar.gz
ObjectsAppend-4ffbace3cc065a7272bc6a7b205a7ef18a249192.zip
Update TodsStuff components
Diffstat (limited to 'System.c4g/DTCallback.c')
-rw-r--r--System.c4g/DTCallback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/System.c4g/DTCallback.c b/System.c4g/DTCallback.c
index 58f6403..5ec876d 100644
--- a/System.c4g/DTCallback.c
+++ b/System.c4g/DTCallback.c
@@ -172,6 +172,7 @@ global func BindArgs(array binding, array args, bool safe, array& refs)
var ret = CreateArray(GetLength(binding)), pos = 0;
for(var bind in binding)
{
+ bind ??= 0; // necessary for non-#strict 3 compatibility
if(GetType(bind) == C4V_Int || GetType(bind) == C4V_Any && bind >= 0)
{
ret[pos] = args[bind];