From bf852f0e62a8bdbb809af6a975f8ae8eed708d70 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 13 Sep 2018 18:47:53 +0200 Subject: [PATCH] [dfont] Make test pass Offset 0 is not null in this context. --- src/hb-open-file.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-open-file.hh b/src/hb-open-file.hh index d3e8722..b960d62 100644 --- 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, HBUINT24> + OffsetTo, HBUINT24, false> offset; /* Offset from beginning of data block to * data for this resource */ HBUINT32 reserved; /* Reserved for handle to resource */ -- 2.7.4