summaryrefslogtreecommitdiff
path: root/gfx/cro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/cro.c')
-rw-r--r--gfx/cro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/cro.c b/gfx/cro.c
index 91e0ed4..1e229d5 100644
--- a/gfx/cro.c
+++ b/gfx/cro.c
@@ -220,7 +220,7 @@ static void cr_text(void *ctx, int x, int y, const char *s, unsigned size,
cairo_rel_move_to(cc->cr, -ext.width, 0);
break;
default:
- abort();
+ BUG("invalid alignment %d", align);
}
cairo_show_text(cc->cr, s);