Mercurial > emacs
changeset 52729:124a3516f4db
(fs_load_font): Don't set fontp->font_encoder to NULL
before calling find_ccl_program_func. Call find_ccl_program_func
only when fontp->font_encoder is not NULL.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Thu, 02 Oct 2003 02:06:08 +0000 |
parents | 5c843bc4a3de |
children | 7535333d9c75 |
files | src/fontset.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/fontset.c Thu Oct 02 02:05:42 2003 +0000 +++ b/src/fontset.c Thu Oct 02 02:06:08 2003 +0000 @@ -690,9 +690,7 @@ } } - fontp->font_encoder = (struct ccl_program *) 0; - - if (find_ccl_program_func) + if (! fontp->font_encoder && find_ccl_program_func) (*find_ccl_program_func) (fontp); /* If we loaded a font for a face that has fontset, record the face