diff --git a/rootston/config.c b/rootston/config.c index 9530ba37..7ffbb786 100644 --- a/rootston/config.c +++ b/rootston/config.c @@ -312,7 +312,8 @@ static int config_ini_handler(void *user, const char *section, const char *name, } } else if (strcmp(section, "keyboard") == 0) { config_handle_keyboard(config, "", name, value); - } else if (strncmp(keyboard_prefix, section, strlen(keyboard_prefix)) == 0) { + } else if (strncmp(keyboard_prefix, + section, strlen(keyboard_prefix)) == 0) { const char *device_name = section + strlen(keyboard_prefix); config_handle_keyboard(config, device_name, name, value); } else if (strcmp(section, "bindings") == 0) {