summaryrefslogtreecommitdiff
path: root/i3status.c
diff options
context:
space:
mode:
Diffstat (limited to 'i3status.c')
-rw-r--r--i3status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3status.c b/i3status.c
index cfc1fd6..befe1d6 100644
--- a/i3status.c
+++ b/i3status.c
@@ -104,8 +104,8 @@ static int parse_align(cfg_t *context, cfg_opt_t *option, const char *value, voi
die("Invalid alignment attribute found in section %s, line %d: \"%s\"\n"
"Valid attributes are: left, center, right\n", context->name, context->line, value);
- char **cresult = result;
- *cresult = sstrdup(value);
+ const char **cresult = result;
+ *cresult = value;
return 0;
}