summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-04-09 19:43:23 +0000
committersabetts <sabetts>2005-04-09 19:43:23 +0000
commitbc225e837dc36daf803436fd11d7a244a608b320 (patch)
tree2692f6c41da8b8543b3bc7e124f30455dba8e40b /src
parente3a8f7b786534df114086a9755b202160a3475f0 (diff)
downloadratpoison-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.c2
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;
}