mirror of
https://github.com/hyprwm/hyprwayland-scanner.git
synced 2024-11-22 23:45:58 +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")
|
else if (a.wlType == "fixed")
|
||||||
shortt += "f";
|
shortt += "f";
|
||||||
else if (a.wlType == "string")
|
else if (a.wlType == "string")
|
||||||
shortt += "s";
|
shortt += std::string(a.allowNull ? "?s" : "s");
|
||||||
else if (a.wlType == "object")
|
else if (a.wlType == "object")
|
||||||
shortt += std::string(a.allowNull ? "?" : "") + "o";
|
shortt += std::string(a.allowNull ? "?" : "") + "o";
|
||||||
else if (a.wlType == "array")
|
else if (a.wlType == "array")
|
||||||
|
|
Loading…
Reference in a new issue