diff options
author | D.B <[email protected]> | 2016-11-02 21:07:04 +0100 |
---|---|---|
committer | D.B <[email protected]> | 2016-11-02 21:07:04 +0100 |
commit | 58eb7ac19fe436737babcbd1effd41ef96af6632 (patch) | |
tree | a3db9567c63b2b2bae27c17d3a103c8f2786a9f7 /sway/commands.c | |
parent | ad4d21d60b36ba39e2090fa052a29bf7ea8a3395 (diff) |
change bar colors from char[10] to *char
This commit removes has_* booleans from bar color struct. It also
generalizes of functions in commands/bar/colors.c.
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 1 |
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; } |