mirror of
https://github.com/tmux/tmux.git
synced 2025-11-01 15:06:06 +00:00
Do not try to reflow if line is NULL.
This commit is contained in:
2
grid.c
2
grid.c
@@ -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)
|
if (!wrapped || want != from->cellused || width == sx)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (lines == 0)
|
if (lines == 0 || from == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user