Merge pull request #1765 from emersion/fix-bad-assert

Fix inverted assertion
This commit is contained in:
Drew DeVault 2018-04-07 12:11:24 -04:00 committed by GitHub
commit a91a1a419c
Failed to generate hash of commit

View file

@ -410,7 +410,7 @@ static void output_damage_whole_container_iterator(struct sway_container *con,
void *data) {
struct sway_output *output = data;
if (!sway_assert(con->type != C_VIEW, "expected a view")) {
if (!sway_assert(con->type == C_VIEW, "expected a view")) {
return;
}