version 1.12, 2013/03/21 16:09:17 |
version 1.13, 2013/03/21 16:09:59 |
|
|
const char *template; |
const char *template; |
u_int idx; |
u_int idx; |
|
|
if (ctx->curclient == NULL) { |
if ((c = cmd_current_client(ctx)) == NULL) { |
ctx->error(ctx, "must be run interactively"); |
ctx->error(ctx, "no client available"); |
return (CMD_RETURN_ERROR); |
return (CMD_RETURN_ERROR); |
} |
} |
c = ctx->curclient; |
|
|
|
if ((template = args_get(args, 'F')) == NULL) |
if ((template = args_get(args, 'F')) == NULL) |
template = CHOOSE_BUFFER_TEMPLATE; |
template = CHOOSE_BUFFER_TEMPLATE; |