summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/actions.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3121b9b..b281c6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}