diff options
| author | Kenichi Handa | 2008-02-16 12:40:42 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-02-16 12:40:42 +0000 |
| commit | 4cc1c8060a9cbc1873f2087708e64cd4fde04408 (patch) | |
| tree | d3cba667fe48082cd05cdecf81884562c07c5211 | |
| parent | 1f3447603f121adaade6c2f847c8135f7b7c7b67 (diff) | |
| download | emacs-4cc1c8060a9cbc1873f2087708e64cd4fde04408.tar.gz emacs-4cc1c8060a9cbc1873f2087708e64cd4fde04408.zip | |
(ftfont_shape): Return Lispy number.
| -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; |