aboutsummaryrefslogtreecommitdiff
path: root/src/cell_explorer.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-04-03 16:06:06 +0200
committerThomas White <taw@physics.org>2019-04-03 16:06:06 +0200
commitcca3391541b0dd7a9827bab9a6cd3d566d84ac3b (patch)
tree6f8d15d6fb65beaeaf672c9e8225f83863dab2f4 /src/cell_explorer.c
parentc1b4861ace94179055e8ea746e631a15bc6b4364 (diff)
cell_explorer: Complain about unknown centering
Diffstat (limited to 'src/cell_explorer.c')
-rw-r--r--src/cell_explorer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cell_explorer.c b/src/cell_explorer.c
index 4aeed6f6..32fc3ae3 100644
--- a/src/cell_explorer.c
+++ b/src/cell_explorer.c
@@ -702,7 +702,11 @@ static void scan_cells(CellWindow *w)
case 'F' : cat = 1<<CAT_F; break;
case 'H' : cat = 1<<CAT_H; break;
case 'R' : cat = 1<<CAT_R; break;
- default : abort();
+
+ default :
+ ERROR("Unknown centering '%c'\n",
+ cell_get_centering(cells[i]);
+ continue;
}
if ( check_exclude(w->hist_a, a) ||