aboutsummaryrefslogtreecommitdiff
path: root/console-client/xkb/kstoucs.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/xkb/kstoucs.c')
-rw-r--r--console-client/xkb/kstoucs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/console-client/xkb/kstoucs.c b/console-client/xkb/kstoucs.c
index eb47bdeb..59af1e9f 100644
--- a/console-client/xkb/kstoucs.c
+++ b/console-client/xkb/kstoucs.c
@@ -1,4 +1,4 @@
-#include <assert.h>
+#include <assert-backtrace.h>
struct ksmap {
int keysym;
@@ -13,7 +13,7 @@ find_ucs (int keysym, struct ksmap *first, struct ksmap *last)
{
struct ksmap *middle = first + (last - first) / 2;
- assert (first <= last);
+ assert_backtrace (first <= last);
if (middle->keysym == keysym)
return middle->ucs; /* base case: needle found. */