aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_xdg_shell.c4
-rw-r--r--types/wlr_xdg_shell_v6.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/types/wlr_xdg_shell.c b/types/wlr_xdg_shell.c
index fcedf804..990926cf 100644
--- a/types/wlr_xdg_shell.c
+++ b/types/wlr_xdg_shell.c
@@ -246,7 +246,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;
}
@@ -263,7 +263,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;
}
diff --git a/types/wlr_xdg_shell_v6.c b/types/wlr_xdg_shell_v6.c
index aa833695..e07d78a1 100644
--- a/types/wlr_xdg_shell_v6.c
+++ b/types/wlr_xdg_shell_v6.c
@@ -248,7 +248,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;
}
@@ -265,7 +265,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;
}