# HG changeset patch # User Kenichi Handa # Date 1233032880 0 # Node ID 52affc17c7cf73c4d1f464308c6bf1648431fae1 # Parent a44c0bbce3870e1a210d3910e82cf18355f402bf (struct font_driver): Fix comment for has_char. diff -r a44c0bbce387 -r 52affc17c7cf src/font.h --- a/src/font.h Tue Jan 27 05:07:04 2009 +0000 +++ b/src/font.h Tue Jan 27 05:08:00 2009 +0000 @@ -547,10 +547,10 @@ void (*done_face) P_ ((FRAME_PTR f, struct face *face)); /* Optional. - If FONT_ENTITY has a glyph for character C (Unicode code point), - return 1. If not, return 0. If a font must be opened to check - it, return -1. */ - int (*has_char) P_ ((Lisp_Object entity, int c)); + If FONT (FONT-ENTITY or FONT-OBJECT) has a glyph for character C + (Unicode code point), return 1. If not, return 0. If FONT is + FONT-ENTITY and it must be opened to check it, return -1. */ + int (*has_char) P_ ((Lisp_Object font, int c)); /* Return a glyph code of FONT for characer C (Unicode code point). If FONT doesn't have such a glyph, return FONT_INVALID_CODE. */