aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2018-02-15 12:26:20 +0100
committerDominique Martinet <asmadeus@codewreck.org>2018-02-15 12:26:20 +0100
commitac78bdb6bceb8e50fd490570c7d106209c9a0a0a (patch)
treee0ca054442401ce26f97dd58671751b54e21c30b
parent56ab3e9b10fdaaf41eef6e47f81ffe54fd9d5a77 (diff)
xdg shells: fix typo s/positives/positive/
-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 53ff25d0..48ace842 100644
--- a/types/wlr_xdg_shell.c
+++ b/types/wlr_xdg_shell.c
@@ -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;
}
diff --git a/types/wlr_xdg_shell_v6.c b/types/wlr_xdg_shell_v6.c
index eb18f022..a3bd16d2 100644
--- a/types/wlr_xdg_shell_v6.c
+++ b/types/wlr_xdg_shell_v6.c
@@ -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;
}