mirror of
https://github.com/tmux/tmux.git
synced 2026-06-20 17:25:57 +00:00
Return early if connect construct cell, reported by Jere Viikari.
This commit is contained in:
@@ -379,6 +379,8 @@ layout_construct(struct layout_cell *lcparent, const char **layout,
|
||||
struct layout_cell *lcchild;
|
||||
|
||||
*lc = layout_construct_cell(lcparent, layout);
|
||||
if (*lc == NULL)
|
||||
return (-1);
|
||||
|
||||
switch (**layout) {
|
||||
case ',':
|
||||
|
||||
Reference in New Issue
Block a user