mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-27 01:40:16 -05:00
Convert all but 2 remaining uses of xassert(false) to BUG("...")
This commit is contained in:
parent
2f81a1d07c
commit
3c86af52c2
4 changed files with 12 additions and 17 deletions
4
input.c
4
input.c
|
|
@ -1225,7 +1225,7 @@ wl_pointer_enter(void *data, struct wl_pointer *wl_pointer,
|
|||
break;
|
||||
|
||||
case TERM_SURF_NONE:
|
||||
xassert(false);
|
||||
BUG("Invalid surface type");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -1806,7 +1806,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
}
|
||||
|
||||
case TERM_SURF_NONE:
|
||||
xassert(false);
|
||||
BUG("Invalid surface type");
|
||||
break;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue