From 3c86af52c2a3e9352a88e969392575e55c3b6f74 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Wed, 10 Feb 2021 09:01:51 +0000 Subject: Convert all but 2 remaining uses of xassert(false) to BUG("...") --- input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index 944f1336..64ab2065 100644 --- a/input.c +++ b/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; } -- cgit v1.3