diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 2 | ||||
| -rw-r--r-- | src/macfont.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 4380a48d8dc..384279f616b 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -613,7 +613,7 @@ ftfont_get_open_type_spec (Lisp_Object otf_spec) | |||
| 613 | unsigned int tag; | 613 | unsigned int tag; |
| 614 | 614 | ||
| 615 | OTF_SYM_TAG (XCAR (val), tag); | 615 | OTF_SYM_TAG (XCAR (val), tag); |
| 616 | spec->features[i][j++] = negative ? tag & 0x80000000 : tag; | 616 | spec->features[i][j++] = negative ? tag | 0x80000000 : tag; |
| 617 | } | 617 | } |
| 618 | } | 618 | } |
| 619 | spec->nfeatures[i] = j; | 619 | spec->nfeatures[i] = j; |
diff --git a/src/macfont.m b/src/macfont.m index abdf0ecfe59..f736fbf0e1e 100644 --- a/src/macfont.m +++ b/src/macfont.m | |||
| @@ -1824,7 +1824,7 @@ macfont_get_open_type_spec (Lisp_Object otf_spec) | |||
| 1824 | unsigned int tag; | 1824 | unsigned int tag; |
| 1825 | 1825 | ||
| 1826 | OTF_SYM_TAG (XCAR (val), tag); | 1826 | OTF_SYM_TAG (XCAR (val), tag); |
| 1827 | spec->features[i][j++] = negative ? tag & 0x80000000 : tag; | 1827 | spec->features[i][j++] = negative ? tag | 0x80000000 : tag; |
| 1828 | } | 1828 | } |
| 1829 | } | 1829 | } |
| 1830 | spec->nfeatures[i] = j; | 1830 | spec->nfeatures[i] = j; |