Skip to content

Commit

Permalink
warn for bad 'tabbed' nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Jan 29, 2022
1 parent 410c384 commit e8fbb2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/layoutnode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ LayoutNode LayoutNode::FromJSON(json& j)
fprintf(stderr, "WARN: tabbed item not an object\n");
}
}
} else if (node._type == "tabbed") {
fprintf(stderr, "WARN: tabs is not an array\n");
}

return node;
Expand Down

0 comments on commit e8fbb2a

Please sign in to comment.