Clean up image support and add regression tests

This commit is contained in:
Michael Grant
2026-10-04 11:44:00 +01:00
parent 91441d6ef2
commit 90ee6a89cc
31 changed files with 465 additions and 633 deletions

View File

@@ -543,7 +543,7 @@ layout_append(struct layout_cell *lcroot, struct layout_string *ls, int flags)
if (flags & LAYOUT_CUSTOM_OLD_FORMAT) {
if (!layout_cell_is_tiled(lcroot) &&
!layout_cell_has_tiled_child(lcroot))
return (0); /* no tiled cell anywhere: empty v1 body */
return (-1);
lccompat = layout_custom_create_compat(lcroot);
result = layout_append_v1(lccompat, ls);
layout_custom_free_compat(lccompat);