From f85a700c271912f4a09b5be19de47db51440e502 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Thu, 22 Oct 2015 11:40:27 -0400 Subject: [PATCH] tools: shared: fix reporting of RATBAG_BUTTON_ACTION_SPECIAL_SECOND_MODE Setting the special command and displaying it were using a different spelling. Fix that. We should really only have one entry point for that. Signed-off-by: Benjamin Tissoires --- tools/shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/shared.c b/tools/shared.c index 8d00a76c..f81d5fb9 100644 --- a/tools/shared.c +++ b/tools/shared.c @@ -120,7 +120,7 @@ button_action_special_to_str(struct ratbag_button *button) case RATBAG_BUTTON_ACTION_SPECIAL_PROFILE_DOWN: str = "profile down"; break; /* Second mode for buttons */ - case RATBAG_BUTTON_ACTION_SPECIAL_SECOND_MODE: str = "second mode"; break; + case RATBAG_BUTTON_ACTION_SPECIAL_SECOND_MODE: str = "secondary mode"; break; } return str;