diff options
-rw-r--r-- | types/wlr_xdg_shell.c | 4 | ||||
-rw-r--r-- | types/wlr_xdg_shell_v6.c | 4 |
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; } |