src/xdisp.c (init_iterator): Restore a comment lost in transition.

This commit is contained in:
Eli Zaretskii 2015-01-22 19:57:18 +02:00
parent d7995b18e4
commit 3e359626e6
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2015-01-22 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (init_iterator): Restore a comment lost in transition.
2015-01-22 Paul Eggert <eggert@cs.ucla.edu>
Use bool for boolean in xfont.c, xftfont.c, xgselect.c

View file

@ -2746,6 +2746,8 @@ init_iterator (struct it *it, struct window *w,
row = MATRIX_HEADER_LINE_ROW (w->desired_matrix);
}
/* Clear IT, and set it->object and other IT's Lisp objects to Qnil.
Other parts of redisplay rely on that. */
memclear (it, sizeof *it);
it->current.overlay_string_index = -1;
it->current.dpvec_index = -1;