From ac78bdb6bceb8e50fd490570c7d106209c9a0a0a Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Thu, 15 Feb 2018 12:26:20 +0100 Subject: xdg shells: fix typo s/positives/positive/ --- types/wlr_xdg_shell.c | 4 ++-- 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; } -- cgit v1.2.3