aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 872e9fc3..de29a7af 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -255,6 +255,7 @@ struct cmd_results *add_color(const char *name, char *buffer, const char *color)
buffer[7] = 'f';
buffer[8] = 'f';
}
+ buffer[9] = '\0';
return NULL;
}