Index: third_party/harfbuzz-ng/src/hb-cache-private.hh |
diff --git a/third_party/harfbuzz-ng/src/hb-cache-private.hh b/third_party/harfbuzz-ng/src/hb-cache-private.hh |
index a0928a0514ed0e623b4c1ea5546ae80db667ea26..19b70b7e39587b9b985cdd2d852e42626578e271 100644 |
--- a/third_party/harfbuzz-ng/src/hb-cache-private.hh |
+++ b/third_party/harfbuzz-ng/src/hb-cache-private.hh |
@@ -49,6 +49,8 @@ struct hb_cache_t |
unsigned int v = values[k]; |
if ((v >> value_bits) != (key >> cache_bits)) |
return false; |
+ *value = v & ((1<<value_bits)-1); |
+ return true; |
} |
inline bool set (unsigned int key, unsigned int value) |