summaryrefslogtreecommitdiff
path: root/kicad/dwg.c
diff options
context:
space:
mode:
Diffstat (limited to 'kicad/dwg.c')
-rw-r--r--kicad/dwg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kicad/dwg.c b/kicad/dwg.c
index 261d0c3..799c329 100644
--- a/kicad/dwg.c
+++ b/kicad/dwg.c
@@ -18,6 +18,7 @@
#include <assert.h>
#include "misc/util.h"
+#include "misc/diag.h"
#include "gfx/misc.h"
#include "gfx/style.h"
#include "gfx/text.h"
@@ -74,7 +75,7 @@ static enum box_type flip_box(enum box_type box)
case box_both:
return box_both;
default:
- abort();
+ BUG("invalid box type %d", box);
}
}