Commit 76031fad authored by Paul Eggert's avatar Paul Eggert

* xdisp.c (init_iterator): Use XINT, not XFASTINT; it might be < 0.

parent 7d100a81
2011-06-17 Paul Eggert <eggert@cs.ucla.edu>
* xdisp.c (init_iterator): Use XINT, not XFASTINT; it might be < 0.
* composite.c: Don't truncate sizes to 'int'.
(composition_gstring_p, composition_reseat_it)
(composition_adjust_point): Use EMACS_INT, not int.
......
......@@ -2385,7 +2385,7 @@ init_iterator (struct it *it, struct window *w,
is invisible. >0 means lines indented more than this value are
invisible. */
it->selective = (INTEGERP (BVAR (current_buffer, selective_display))
? XFASTINT (BVAR (current_buffer, selective_display))
? XINT (BVAR (current_buffer, selective_display))
: (!NILP (BVAR (current_buffer, selective_display))
? -1 : 0));
it->selective_display_ellipsis_p
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment