From 4b717cadc64ef4776c65d08f765de976a353427d Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 5 Jan 2011 23:07:34 -0300 Subject: [PATCH] cameo/path.c (path_connect): corrected logic when merging B->A --- cameo/path.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cameo/path.c b/cameo/path.c index bfe7068..c8a6f42 100644 --- a/cameo/path.c +++ b/cameo/path.c @@ -388,9 +388,8 @@ again: (*b)->last = (*a)->last; free((*a)->first); tmp = *a; - *a = *b; + *a = tmp->next; free(tmp); - *b = (*b)->next; goto again; } }