diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 9fb50d3dba3..2a72316b6a9 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -1618,7 +1618,7 @@ ftfont_shape (lgstring) | |||
| 1618 | CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring), font); | 1618 | CHECK_FONT_GET_OBJECT (LGSTRING_FONT (lgstring), font); |
| 1619 | ftfont_info = (struct ftfont_info *) font; | 1619 | ftfont_info = (struct ftfont_info *) font; |
| 1620 | if (! ftfont_info->maybe_otf) | 1620 | if (! ftfont_info->maybe_otf) |
| 1621 | return 0; | 1621 | return make_number (0); |
| 1622 | if (! ftfont_info->otf) | 1622 | if (! ftfont_info->otf) |
| 1623 | { | 1623 | { |
| 1624 | OTF *otf = OTF_open_ft_face (ftfont_info->ft_size->face); | 1624 | OTF *otf = OTF_open_ft_face (ftfont_info->ft_size->face); |
| @@ -1628,7 +1628,7 @@ ftfont_shape (lgstring) | |||
| 1628 | if (otf) | 1628 | if (otf) |
| 1629 | OTF_close (otf); | 1629 | OTF_close (otf); |
| 1630 | ftfont_info->maybe_otf = 0; | 1630 | ftfont_info->maybe_otf = 0; |
| 1631 | return 0; | 1631 | return make_number (0); |
| 1632 | } | 1632 | } |
| 1633 | 1633 | ||
| 1634 | ftfont_info->otf = otf; | 1634 | ftfont_info->otf = otf; |