version 1.19, 2010/01/07 20:52:18 |
version 1.20, 2010/06/27 02:56:59 |
|
|
cmd = data->cmd; |
cmd = data->cmd; |
if (cmd == NULL) |
if (cmd == NULL) |
cmd = options_get_string(&s->options, "default-command"); |
cmd = options_get_string(&s->options, "default-command"); |
if (ctx->cmdclient == NULL || ctx->cmdclient->cwd == NULL) |
cwd = options_get_string(&s->options, "default-path"); |
cwd = options_get_string(&s->options, "default-path"); |
if (*cwd == '\0') { |
else |
if (ctx->cmdclient != NULL && ctx->cmdclient->cwd != NULL) |
cwd = ctx->cmdclient->cwd; |
cwd = ctx->cmdclient->cwd; |
|
else |
|
cwd = s->cwd; |
|
} |
|
|
type = LAYOUT_TOPBOTTOM; |
type = LAYOUT_TOPBOTTOM; |
if (data->flag_horizontal) |
if (data->flag_horizontal) |