| Index: third_party/ots/src/post.cc
|
| diff --git a/third_party/ots/src/post.cc b/third_party/ots/src/post.cc
|
| index e7ed92b4a699d9a15b0b9d1e875a2a133c9644b8..a110b2dea3c4958186067106ebc338b92c39df29 100644
|
| --- a/third_party/ots/src/post.cc
|
| +++ b/third_party/ots/src/post.cc
|
| @@ -128,7 +128,7 @@ bool ots_post_serialise(OTSStream *out, Font *font) {
|
| const OpenTypePOST *post = font->post;
|
|
|
| // OpenType with CFF glyphs must have v3 post table.
|
| - if (font->post && font->cff && font->post->version != 0x00030000) {
|
| + if (post && font->cff && post->version != 0x00030000) {
|
| return OTS_FAILURE_MSG("Bad post version %x", post->version);
|
| }
|
|
|
|
|