mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-12-22 16:19:49 +01:00
core: support null strings
This commit is contained in:
parent
1281c1ed53
commit
e1e94b12d5
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ std::string argsToShort(std::vector<SRequestArgument>& args, const std::string&
|
|||
else if (a.wlType == "fixed")
|
||||
shortt += "f";
|
||||
else if (a.wlType == "string")
|
||||
shortt += "s";
|
||||
shortt += std::string(a.allowNull ? "?s" : "s");
|
||||
else if (a.wlType == "object")
|
||||
shortt += std::string(a.allowNull ? "?" : "") + "o";
|
||||
else if (a.wlType == "array")
|
||||
|
|
Loading…
Reference in a new issue