changeset 30448:92e758e908a2

(next_element_from_display_vector): Improve comments.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 25 Jul 2000 12:06:40 +0000
parents e60d22cf57b4
children d2552d0345de
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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