diff options
| author | Craig Barnes <craigbarnes@protonmail.com> | 2022-11-01 21:04:22 +0000 |
|---|---|---|
| committer | Craig Barnes <craigbarnes@protonmail.com> | 2022-11-01 21:04:22 +0000 |
| commit | 8f2bda67034b1db89be28db1d1f3bfe33cfeb37b (patch) | |
| tree | b5be8aab171e054529b37e52b49375e5d7728742 | |
| parent | render: maybe_resize(): remove debug assert (diff) | |
wayland: use BUG() instead of xassert(false)
The latter will expand to the former anyway, so we may as well provide
an explicit error message instead of "assertion failed: 'false'".
| -rw-r--r-- | wayland.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1915,7 +1915,7 @@ activation_token_done(void *data, struct xdg_activation_token_v1 *xdg_token, return; } - xassert(false); + BUG("activation token not found in list"); } static const struct |
