xdg shells: fix typo s/positives/positive/
This commit is contained in:
parent
56ab3e9b10
commit
ac78bdb6bc
|
@ -238,7 +238,7 @@ static void xdg_positioner_protocol_set_size(struct wl_client *client,
|
||||||
if (width < 1 || height < 1) {
|
if (width < 1 || height < 1) {
|
||||||
wl_resource_post_error(resource,
|
wl_resource_post_error(resource,
|
||||||
XDG_POSITIONER_ERROR_INVALID_INPUT,
|
XDG_POSITIONER_ERROR_INVALID_INPUT,
|
||||||
"width and height must be positives and non-zero");
|
"width and height must be positive and non-zero");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ static void xdg_positioner_protocol_set_anchor_rect(struct wl_client *client,
|
||||||
if (width < 0 || height < 0) {
|
if (width < 0 || height < 0) {
|
||||||
wl_resource_post_error(resource,
|
wl_resource_post_error(resource,
|
||||||
XDG_POSITIONER_ERROR_INVALID_INPUT,
|
XDG_POSITIONER_ERROR_INVALID_INPUT,
|
||||||
"width and height must be positives");
|
"width and height must be positive");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,7 @@ static void xdg_positioner_protocol_set_size(struct wl_client *client,
|
||||||
if (width < 1 || height < 1) {
|
if (width < 1 || height < 1) {
|
||||||
wl_resource_post_error(resource,
|
wl_resource_post_error(resource,
|
||||||
ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT,
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ static void xdg_positioner_protocol_set_anchor_rect(struct wl_client *client,
|
||||||
if (width < 1 || height < 1) {
|
if (width < 1 || height < 1) {
|
||||||
wl_resource_post_error(resource,
|
wl_resource_post_error(resource,
|
||||||
ZXDG_POSITIONER_V6_ERROR_INVALID_INPUT,
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue