Return to cmd-resize-pane.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.50, 2021/08/21 10:22:39 | version 1.51, 2021/08/21 10:28:05 | ||
---|---|---|---|
|
|
||
if (args_count(args) == 0) | if (args_count(args) == 0) | ||
adjust = 1; | adjust = 1; | ||
else { | else { | ||
adjust = strtonum(args_string(args, 0), 1, INT_MAX, | adjust = strtonum(args_string(args, 0), 1, INT_MAX, &errstr); | ||
&errstr); | |||
if (errstr != NULL) { | if (errstr != NULL) { | ||
cmdq_error(item, "adjustment %s", errstr); | cmdq_error(item, "adjustment %s", errstr); | ||
return (CMD_RETURN_ERROR); | return (CMD_RETURN_ERROR); |