Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam
2025-10-28 12:01:07 +00:00

2
grid.c
View File

@@ -1304,7 +1304,7 @@ grid_reflow_join(struct grid *target, struct grid *gd, u_int sx, u_int yy,
if (!wrapped || want != from->cellused || width == sx)
break;
}
if (lines == 0)
if (lines == 0 || from == NULL)
return;
/*