From bc225e837dc36daf803436fd11d7a244a608b320 Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 9 Apr 2005 19:43:23 +0000 Subject: (cmd_set): pass the string produced when no args are passid in to cmdret_new using "%s". --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3