From 78685ec6aae0a667b265eebe5cf8fb8cfb3ba3dc Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Sat, 2 Jan 2021 12:12:19 -0700 Subject: [PATCH] text_input_v3: correct typo in enum field --- include/wlr/types/wlr_text_input_v3.h | 2 +- types/wlr_text_input_v3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wlr/types/wlr_text_input_v3.h b/include/wlr/types/wlr_text_input_v3.h index 74dc26c3..47d0fc39 100644 --- a/include/wlr/types/wlr_text_input_v3.h +++ b/include/wlr/types/wlr_text_input_v3.h @@ -15,7 +15,7 @@ enum wlr_text_input_v3_features { WLR_TEXT_INPUT_V3_FEATURE_SURROUNDING_TEXT = 1 << 0, - WLR_TEXT_INPUT_v3_FEATURE_CONTENT_TYPE = 1 << 1, + WLR_TEXT_INPUT_V3_FEATURE_CONTENT_TYPE = 1 << 1, WLR_TEXT_INPUT_V3_FEATURE_CURSOR_RECTANGLE = 1 << 2, }; diff --git a/types/wlr_text_input_v3.c b/types/wlr_text_input_v3.c index 7f0d7f92..c6e43ec2 100644 --- a/types/wlr_text_input_v3.c +++ b/types/wlr_text_input_v3.c @@ -141,7 +141,7 @@ static void text_input_set_content_type(struct wl_client *client, if (!text_input) { return; } - text_input->pending.features |= WLR_TEXT_INPUT_v3_FEATURE_CONTENT_TYPE; + text_input->pending.features |= WLR_TEXT_INPUT_V3_FEATURE_CONTENT_TYPE; text_input->pending.content_type.hint = hint; text_input->pending.content_type.purpose = purpose; }