Fix some error strings, from Kris Katterjohn.

This commit is contained in:
nicm
2020-05-25 18:17:14 +00:00
parent bbfb44e9b2
commit dc893405e1
2 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ cmd_resize_pane_exec(struct cmd *self, struct cmdq_item *item)
if (args_has(args, 'y')) {
y = args_percentage(args, 'y', 0, INT_MAX, w->sy, &cause);
if (cause != NULL) {
cmdq_error(item, "width %s", cause);
cmdq_error(item, "height %s", cause);
free(cause);
return (CMD_RETURN_ERROR);
}