diff options
author | sabetts <sabetts> | 2005-04-09 19:43:23 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-04-09 19:43:23 +0000 |
commit | bc225e837dc36daf803436fd11d7a244a608b320 (patch) | |
tree | 2692f6c41da8b8543b3bc7e124f30455dba8e40b /src | |
parent | e3a8f7b786534df114086a9755b202160a3475f0 (diff) | |
download | ratpoison-bc225e837dc36daf803436fd11d7a244a608b320.zip |
(cmd_set): pass the string produced when no args are passid in to
cmdret_new using "%s".
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c index acf8426..043d313 100644 --- a/src/actions.c +++ b/src/actions.c @@ -4755,7 +4755,7 @@ cmd_set (int interactive, struct cmdarg **args) } /* Return the accumulated string. */ - ret = cmdret_new (RET_SUCCESS, sbuf_get (s)); + ret = cmdret_new (RET_SUCCESS, "%s", sbuf_get (s)); sbuf_free (s); return ret; } |