Skip to content
Myr

xdg: keep the whole execution string

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel Eklöf · committed by Daniel Eklöf · parent a5bfc24 · Browse files · 1 file+2 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−4 removed

  • other:+2 added−4 removed

1 file+2 added−4 removed

modified:xdg.c+2 added-4 removed
67 unmodified lines
6869 if (strcasecmp(key, "name") == 0)70 name = strdup(value);7172 else if (strcasecmp(key, "exec") == 0) {73 const char *first = strtok(value, " ");74 exec = strdup(first);75 }72 else if (strcasecmp(key, "exec") == 0)73 exec = strdup(value);7475 else if (strcasecmp(key, "genericname") == 0)76 generic_name = strdup(value);77
132 unmodified lines