summaryrefslogtreecommitdiff
path: root/src/squeltch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/squeltch.c')
-rw-r--r--src/squeltch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/squeltch.c b/src/squeltch.c
index 89104f63..cd52dc1a 100644
--- a/src/squeltch.c
+++ b/src/squeltch.c
@@ -399,7 +399,7 @@ void do_cmd_automatizer()
if (!max) continue;
- sprintf(name, string_exec_lua(format("return __rules[%d].table.args.name", sel)));
+ sprintf(name, "%s", string_exec_lua(format("return __rules[%d].table.args.name", sel)));
if (input_box("New name?", hgt / 2, wid / 2, name, 15))
{
exec_lua(format("auto_aux:rename_rule(%d, '%s')", sel, name));