diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-01-01 22:20:15 +0300 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-01-01 22:20:15 +0300 |
| commit | 304c617a68c7c9dbc720a7d5c58ef4614898b915 (patch) | |
| tree | a5a44532e0302ddf1bc5dc1809dcec1e392c9648 | |
| parent | 7df9348fef6e194933fc3b8957ae2b4ee326af24 (diff) | |
fixup ea0a23645f03a42252ab1ce8df45ae4076ebae75: pass teco_string_t by value in Windows-only code as wellv2.5.0
| -rw-r--r-- | src/spawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spawn.c b/src/spawn.c index 63a1c40..61718fd 100644 --- a/src/spawn.c +++ b/src/spawn.c @@ -129,7 +129,7 @@ teco_parse_shell_command_line(const gchar *cmdline, GError **error) teco_string_t comspec; if (!reg->vtable->get_string(reg, &comspec.data, &comspec.len, NULL, error)) return NULL; - if (teco_string_contains(&comspec, '\0')) { + if (teco_string_contains(comspec, '\0')) { teco_string_clear(&comspec); teco_error_qregcontainsnull_set(error, "$COMSPEC", 8, FALSE); return NULL; |
