version 1.5, 2020/04/13 10:59:58 |
version 1.6, 2021/08/20 19:50:16 |
|
|
u_int adjust, sx, sy; |
u_int adjust, sx, sy; |
int xpixel = -1, ypixel = -1; |
int xpixel = -1, ypixel = -1; |
|
|
if (args->argc == 0) |
if (args_count(args) == 0) |
adjust = 1; |
adjust = 1; |
else { |
else { |
adjust = strtonum(args->argv[0], 1, INT_MAX, &errstr); |
adjust = strtonum(args_string(args, 0), 1, INT_MAX, |
|
&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); |