diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2024-03-16 20:17:53 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2024-03-16 20:17:53 +0000 |
| commit | 853be450bb95cb7b022f6dad4263e4a92bf18e4b (patch) | |
| tree | 28b45591cd431e565cd73d15d6400c099d92f154 /main.c | |
| parent | wayland: skip loading cursor theme when using server side cursors (diff) | |
main/config: replace some uses of xasprintf() with xstrjoin()
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -261,7 +261,7 @@ main(int argc, char *const *argv) break; case 't': - tll_push_back(overrides, xasprintf("term=%s", optarg)); + tll_push_back(overrides, xstrjoin("term=", optarg)); break; case 'L': @@ -269,11 +269,11 @@ main(int argc, char *const *argv) break; case 'T': - tll_push_back(overrides, xasprintf("title=%s", optarg)); + tll_push_back(overrides, xstrjoin("title=", optarg)); break; case 'a': - tll_push_back(overrides, xasprintf("app-id=%s", optarg)); + tll_push_back(overrides, xstrjoin("app-id=", optarg)); break; case 'D': { @@ -287,7 +287,7 @@ main(int argc, char *const *argv) } case 'f': { - char *font_override = xasprintf("font=%s", optarg); + char *font_override = xstrjoin("font=", optarg); tll_push_back(overrides, font_override); break; } |
