Changed to used list_getp

This commit is contained in:
Scott Anderson 2017-05-13 13:52:45 +12:00
parent a4eeedfa34
commit 508200e83d
38 changed files with 249 additions and 249 deletions

View file

@ -17,7 +17,7 @@ struct cmd_results *cmd_floating_mod(int argc, char **argv) {
// set modifier keys
for (size_t i = 0; i < split->length; ++i) {
config->floating_mod |= get_modifier_mask_by_name(*(char **)list_get(split, i));
config->floating_mod |= get_modifier_mask_by_name(list_getp(split, i));
}
free_flat_list(split);
if (!config->floating_mod) {