From fb117b20e513a440ceaa65b7c2faa6f5f596c317 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 19 Mar 2012 01:02:19 -0300 Subject: [PATCH] cameo/area.c (subordinates): fix trimming of list of subordinates --- cameo/area.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cameo/area.c b/cameo/area.c index 1b23429..df8382d 100644 --- a/cameo/area.c +++ b/cameo/area.c @@ -227,7 +227,7 @@ static const struct path **subordinates(const struct path *paths, for (a = sub; a != w; a++) for (b = sub; b != w; b++) if (a != b && is_inside(*a, *b)) { - *a = *w--; + *a = *--w; *w = NULL; a--; break;