Convert border_colors.text to float[4]

This commit is contained in:
Drew DeVault 2018-05-03 08:14:17 -04:00
parent 8f06aa7598
commit 58a033d816
4 changed files with 10 additions and 9 deletions

View file

@ -64,7 +64,7 @@ static struct cmd_results *handle_command(int argc, char **argv,
"Unable to parse background color");
}
if (!parse_color_int(argv[2], &class->text)) {
if (!parse_color_float(argv[2], class->text)) {
return cmd_results_new(CMD_INVALID, cmd_name,
"Unable to parse text color");
}