summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-01-15 16:33:47 +0000
committersabetts <sabetts>2005-01-15 16:33:47 +0000
commitb85b4d62757ca51a9bf11ea78d5d6c4ae1feb91c (patch)
tree6530a3050a47a2ed28593c9539d816e5002588b7 /src/actions.c
parentaddbe86bbd62c2731cdbc2dcb4d7eea98a74224d (diff)
downloadratpoison-b85b4d62757ca51a9bf11ea78d5d6c4ae1feb91c.zip
*** empty log message ***
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/actions.c b/src/actions.c
index d708ef0..8d301c6 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -2275,9 +2275,10 @@ command (int interactive, char *data)
INIT_LIST_HEAD (&args);
INIT_LIST_HEAD (&head);
- /* We need to tell parse_args about arg_REST. */
+ /* We need to tell parse_args about arg_REST and arg_SHELLCMD. */
for (i=0; i<uc->num_args; i++)
- if (uc->args[i].type == arg_REST)
+ if (uc->args[i].type == arg_REST
+ || uc->args[i].type == arg_SHELLCMD)
{
nargs = i;
break;
@@ -4702,9 +4703,10 @@ cmd_set (int interactive, struct cmdarg **args)
INIT_LIST_HEAD (&arglist);
INIT_LIST_HEAD (&head);
- /* We need to tell parse_args about arg_REST. */
+ /* We need to tell parse_args about arg_REST and arg_SHELLCMD. */
for (i=0; i<ARG(0,variable)->nargs; i++)
- if (ARG(0,variable)->args[i].type == arg_REST)
+ if (ARG(0,variable)->args[i].type == arg_REST
+ || ARG(0,variable)->args[i].type == arg_SHELLCMD)
{
nargs = i;
break;