From b0cc5c14e204c7268a93683d484b38c643a16e66 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 21 May 2021 17:32:36 +0200 Subject: [PATCH] - fixed bad argument count in ScreenJobRunner.Validate call. --- source/core/screenjob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/screenjob.cpp b/source/core/screenjob.cpp index f8e905dec..5f43ea138 100644 --- a/source/core/screenjob.cpp +++ b/source/core/screenjob.cpp @@ -345,7 +345,7 @@ bool ScreenJobValidate() int res; VMValue parm[] = { runner }; VMReturn ret(&res); - VMCall(func, parm, 2, &ret, 1); + VMCall(func, parm, 1, &ret, 1); return res; } }