From 16123e10700436df18d14e37371bb621b31ea5d1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 2 May 2011 19:54:17 -0400 Subject: [PATCH] Fix bug in map implementation --- src/hb-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-private.hh b/src/hb-private.hh index b91595d..dc47000 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -379,7 +379,7 @@ struct hb_map_t if (!item) return; item->finish (); - items[items.len - 1] = *item; + *item = items[items.len - 1]; items.pop (); } -- 2.7.4