mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
xdg shells: fix typo s/positives/positive/
This commit is contained in:
parent
56ab3e9b10
commit
ac78bdb6bc
2 changed files with 4 additions and 4 deletions
|
@ -238,7 +238,7 @@ static void xdg_positioner_protocol_set_size(struct wl_client *client,
|
|||
if (width < 1 || height < 1) {
|
||||
wl_resource_post_error(resource,
|
||||
XDG_POSITIONER_ERROR_INVALID_INPUT,
|
||||
"width and height must be positives and non-zero");
|
||||
"width and height must be positive and non-zero");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -255,7 +255,7 @@ static void xdg_positioner_protocol_set_anchor_rect(struct wl_client *client,
|
|||
if (width < 0 || height < 0) {
|
||||
wl_resource_post_error(resource,
|
||||
XDG_POSITIONER_ERROR_INVALID_INPUT,
|
||||
"width and height must be positives");
|
||||
"width and height must be positive");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@ static void xdg_positioner_protocol_set_size(struct wl_client *client,
|
|||
if (width < 1 || height < 1) {
|
||||
wl_resource_post_error(resource,
|
||||
ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT,
|
||||
"width and height must be positives and non-zero");
|
||||
"width and height must be positive and non-zero");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -255,7 +255,7 @@ static void xdg_positioner_protocol_set_anchor_rect(struct wl_client *client,
|
|||
if (width < 1 || height < 1) {
|
||||
wl_resource_post_error(resource,
|
||||
ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT,
|
||||
"width and height must be positives and non-zero");
|
||||
"width and height must be positive and non-zero");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue