# HG changeset patch # User Gerd Moellmann # Date 964526800 0 # Node ID 92e758e908a24ebda590070d0903b717770a393f # Parent e60d22cf57b4b8315b79ba8693299d2c0c671cd1 (next_element_from_display_vector): Improve comments. diff -r e60d22cf57b4 -r 92e758e908a2 src/xdisp.c --- a/src/xdisp.c Tue Jul 25 12:06:09 2000 +0000 +++ b/src/xdisp.c Tue Jul 25 12:06:40 2000 +0000 @@ -3816,15 +3816,14 @@ /* The entry may contain a face id to use. Such a face id is the id of a Lisp face, not a realized face. A face id of - zero means no face. */ + zero means no face is specified. */ lface_id = FAST_GLYPH_FACE (g); if (lface_id) { + /* The function returns -1 if lface_id is invalid. */ int face_id = ascii_face_of_lisp_face (it->f, lface_id); if (face_id >= 0) - { - it->face_id = face_id; - } + it->face_id = face_id; } } else