summaryrefslogtreecommitdiff
path: root/gui/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/gui.c')
-rw-r--r--gui/gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/gui.c b/gui/gui.c
index 4f38325..5fe3cc9 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -99,13 +99,13 @@ static void select_subsheet(void *user)
go_to_sheet(ctx, sheet);
return;
}
- abort();
+ BUG("new sheet not found");
}
for (sheet = ctx->old_hist->sheets; sheet; sheet = sheet->next)
if (sheet->sch == obj->u.sheet.sheet)
goto found;
- abort();
+ BUG("old sheet not found");
found:
sheet = find_corresponding_sheet(ctx->new_hist->sheets,