Related to #3151 and #3149.
The `NULL` check in `vte_send_cmd()` is just for feeling more safe, the main change is to consider `vc->send_cmd_prefix` being `NULL` when constructing the command to be executed when we want to change the directory in the VTE. This should not happen but it might. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3153
-- Commit Summary --
* VTE: Fix crash when "send_cmd_prefix" is NULL
-- File Changes --
M src/vte.c (5)
-- Patch Links --
https://github.com/geany/geany/pull/3153.patch https://github.com/geany/geany/pull/3153.diff