projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cd5969
)
Fix bug in map implementation
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 May 2011 23:54:17 +0000
(19:54 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 May 2011 23:54:17 +0000
(19:54 -0400)
src/hb-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-private.hh
b/src/hb-private.hh
index b91595d95b3ba0216ad09109eaeb29964b9e2657..dc470009183fb0225795da4637e730de3e00e20a 100644
(file)
--- 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 ();
}