mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-12-23 17:59:49 +01:00
oops
This commit is contained in:
parent
88d37c9d2d
commit
14aacb71c2
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ static const void* {}[] = {{
|
||||||
if (!WPTypeToCType(arg, true).starts_with("C"))
|
if (!WPTypeToCType(arg, true).starts_with("C"))
|
||||||
argsN += arg.name + ", ";
|
argsN += arg.name + ", ";
|
||||||
else
|
else
|
||||||
argsN += arg.name + "->pResource, ";
|
argsN += (arg.name + " ? " + arg.name + "->pResource : nullptr, ");
|
||||||
}
|
}
|
||||||
|
|
||||||
argsN.pop_back();
|
argsN.pop_back();
|
||||||
|
|
Loading…
Reference in a new issue