diff options
| author | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-02-20 17:13:55 +0100 |
|---|---|---|
| committer | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-02-20 17:13:55 +0100 |
| commit | 4ffbace3cc065a7272bc6a7b205a7ef18a249192 (patch) | |
| tree | 1ee83bb4d76339f24cdce6b1ed6d05b34bf227f2 /System.c4g/DTCallback.c | |
| parent | 497fe739cf81cb73630098e629cb5a96f02c755a (diff) | |
| download | ObjectsAppend-4ffbace3cc065a7272bc6a7b205a7ef18a249192.tar.gz ObjectsAppend-4ffbace3cc065a7272bc6a7b205a7ef18a249192.zip | |
Update TodsStuff components
Diffstat (limited to 'System.c4g/DTCallback.c')
| -rw-r--r-- | System.c4g/DTCallback.c | 1 |
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]; |
