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:
c589681
)
[hdmx] Minor
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 27 Mar 2018 02:55:22 +0000
(19:55 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 27 Mar 2018 02:55:22 +0000
(19:55 -0700)
src/hb-ot-hdmx-table.hh
patch
|
blob
|
history
diff --git
a/src/hb-ot-hdmx-table.hh
b/src/hb-ot-hdmx-table.hh
index
8df9957
..
6ad57af
100644
(file)
--- a/
src/hb-ot-hdmx-table.hh
+++ b/
src/hb-ot-hdmx-table.hh
@@
-134,7
+134,7
@@
struct hdmx
inline const DeviceRecord& operator [] (unsigned int i) const
{
if (unlikely (i >= num_records)) return Null(DeviceRecord);
- return StructAtOffset<DeviceRecord> (this
, min_size +
i * size_device_record);
+ return StructAtOffset<DeviceRecord> (this
->data,
i * size_device_record);
}
inline bool serialize (hb_serialize_context_t *c, const hdmx *source_hdmx, hb_subset_plan_t *plan)