aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-20 12:17:31 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-20 12:19:22 +0000
commit42ec2640753650c69385d86c2fbb386d23965c89 (patch)
treeb1397db5e2128d97d340260f732bf4b4edce9a1e /config.h
parentconfig: remove duplicated error logs for invalid colors (diff)
tokenize: strdup() each individual argv
Instead of referencing the un-tokenized “raw” command string, strdup() each argv. This way, the input string can be ‘const’.
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.h b/config.h
index bdb1a109..a82a0cd1 100644
--- a/config.h
+++ b/config.h
@@ -63,7 +63,6 @@ DEFINE_LIST(struct config_mouse_binding);
typedef tll(char *) config_override_t;
struct config_spawn_template {
- char *raw_cmd;
char **argv;
};