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:
29faebe
)
[dfont] Make test pass
author
Behdad Esfahbod
<behdad@behdad.org>
Thu, 13 Sep 2018 16:47:53 +0000
(18:47 +0200)
committer
Behdad Esfahbod
<behdad@behdad.org>
Thu, 13 Sep 2018 16:47:53 +0000
(18:47 +0200)
Offset 0 is not null in this context.
src/hb-open-file.hh
patch
|
blob
|
history
diff --git
a/src/hb-open-file.hh
b/src/hb-open-file.hh
index
d3e8722
..
b960d62
100644
(file)
--- a/
src/hb-open-file.hh
+++ b/
src/hb-open-file.hh
@@
-309,7
+309,7
@@
struct ResourceRecord
HBINT16 nameOffset; /* Offset from beginning of resource name list
* to resource name, -1 means there is none. */
HBUINT8 attrs; /* Resource attributes */
- OffsetTo<LArrayOf<HBUINT8>, HBUINT24>
+ OffsetTo<LArrayOf<HBUINT8>, HBUINT24
, false
>
offset; /* Offset from beginning of data block to
* data for this resource */
HBUINT32 reserved; /* Reserved for handle to resource */