From 304c617a68c7c9dbc720a7d5c58ef4614898b915 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 1 Jan 2026 22:20:15 +0300 Subject: fixup ea0a23645f03a42252ab1ce8df45ae4076ebae75: pass teco_string_t by value in Windows-only code as well --- src/spawn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3