xdg shells: fix typo s/positives/positive/

This commit is contained in:
Dominique Martinet 2018-02-15 12:26:20 +01:00
parent 56ab3e9b10
commit ac78bdb6bc
2 changed files with 4 additions and 4 deletions

View file

@ -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;
} }

View file

@ -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;
} }