xdg shells: fix typo s/positives/positive/

master
Dominique Martinet 7 years ago
parent 56ab3e9b10
commit ac78bdb6bc

@ -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…
Cancel
Save