This commit is contained in:
Michael Grant
2026-10-03 14:16:14 +01:00
parent 1eedc4aa24
commit f024cc83c3
4 changed files with 68 additions and 67 deletions

View File

@@ -606,8 +606,8 @@ window_buffer_start_edit(struct window_buffer_modedata *data,
ed->name = xstrdup(paste_buffer_name(pb));
ed->pb = pb;
ed->editor = spawn_editor(c, buf, len, NULL, window_buffer_edit_close_cb,
ed);
ed->editor = spawn_editor(c, buf, len, NULL,
window_buffer_edit_close_cb, ed);
if (ed->editor == NULL)
window_buffer_finish_edit(ed);
else {