diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/actions.c | 2 |
2 files changed, 5 insertions, 2 deletions
@@ -1,7 +1,10 @@ 2005-04-09 Shawn <sabetts@monk.lamenet> - * src/actions.c (init_user_commands): add KEY argument to meta command. + * src/actions.c (init_user_commands): add KEY argument to meta + command. (cmd_meta): optionally use the KEY passed in as an argument. + (cmd_set): pass the string produced when no args are passid in to + cmdret_new using "%s". 2005-03-05 <sabetts@localhost> 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; } |