From e60b1bb9a1d4165135e18cf1ff5c8b9d7610e943 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 24 Apr 2024 21:08:28 +0100 Subject: [PATCH] source: fix including ->pResource under non-new_id resources --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 24f51e1..be1676f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -502,7 +502,7 @@ static const void* {}[] = {{ std::string argsN = ", "; for (auto& arg : ev.args) { - if (arg.interface.empty()) + if (arg.interface.empty() || arg.wlType != "new_id") argsN += arg.name + ", "; else argsN += arg.name + "->pResource, ";