changeset 107198:f32d789c9aab

term.c, dispextern.h: Fix stale comments.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 19 Feb 2010 15:57:53 +0200
parents 8b83e8b68526
children 8ce4f8460ed4 c82e39ab7a78
files src/dispextern.h src/term.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispextern.h	Fri Feb 19 15:26:50 2010 +0200
+++ b/src/dispextern.h	Fri Feb 19 15:57:53 2010 +0200
@@ -2257,8 +2257,8 @@
       && ((IT)->c == '\n'				\
 	  || ((IT)->c == '\r' && (IT)->selective)))
 
-/* Call produce_glyphs or produce_glyphs_hook, if set.  Shortcut to
-   avoid the function call overhead.  */
+/* Call produce_glyphs or FRAME_RIF->produce_glyphs, if set.  Shortcut
+   to avoid the function call overhead.  */
 
 #define PRODUCE_GLYPHS(IT)                              \
   do {                                                  \
--- a/src/term.c	Fri Feb 19 15:26:50 2010 +0200
+++ b/src/term.c	Fri Feb 19 15:57:53 2010 +0200
@@ -1568,8 +1568,9 @@
    and where in the glyph matrix we currently are (glyph row and hpos).
    produce_glyphs fills in output fields of *IT with information such as the
    pixel width and height of a character, and maybe output actual glyphs at
-   the same time if IT->glyph_row is non-null.  See the explanation of
-   struct display_iterator in dispextern.h for an overview.
+   the same time if IT->glyph_row is non-null.  For an overview, see
+   the explanation in dispextern.h, before the definition of the
+   display_element_type enumeration.
 
    produce_glyphs also stores the result of glyph width, ascent
    etc. computations in *IT.