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 <benjamin.tissoires@gmail.com>
This commit is contained in:
Benjamin Tissoires
2015-10-22 11:40:27 -04:00
parent 844edbfeeb
commit f85a700c27

View File

@@ -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;