Fix bug in map implementation

This commit is contained in:
Behdad Esfahbod 2011-05-02 19:54:17 -04:00
parent 1cd5969f25
commit 16123e1070
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ struct hb_map_t
if (!item) return; if (!item) return;
item->finish (); item->finish ();
items[items.len - 1] = *item; *item = items[items.len - 1];
items.pop (); items.pop ();
} }