diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-06-20 12:17:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-06-20 12:19:22 +0000 |
| commit | 42ec2640753650c69385d86c2fbb386d23965c89 (patch) | |
| tree | b1397db5e2128d97d340260f732bf4b4edce9a1e /config.h | |
| parent | config: 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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; }; |
