aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xdisp.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f9ed0c6cfc7..d88aa4929ca 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-06-17 Paul Eggert <eggert@cs.ucla.edu> 12011-06-17 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * xdisp.c (init_iterator): Use XINT, not XFASTINT; it might be < 0.
4
3 * composite.c: Don't truncate sizes to 'int'. 5 * composite.c: Don't truncate sizes to 'int'.
4 (composition_gstring_p, composition_reseat_it) 6 (composition_gstring_p, composition_reseat_it)
5 (composition_adjust_point): Use EMACS_INT, not int. 7 (composition_adjust_point): Use EMACS_INT, not int.
diff --git a/src/xdisp.c b/src/xdisp.c
index 5a0b0060fa3..2694bb4848d 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2385,7 +2385,7 @@ init_iterator (struct it *it, struct window *w,
2385 is invisible. >0 means lines indented more than this value are 2385 is invisible. >0 means lines indented more than this value are
2386 invisible. */ 2386 invisible. */
2387 it->selective = (INTEGERP (BVAR (current_buffer, selective_display)) 2387 it->selective = (INTEGERP (BVAR (current_buffer, selective_display))
2388 ? XFASTINT (BVAR (current_buffer, selective_display)) 2388 ? XINT (BVAR (current_buffer, selective_display))
2389 : (!NILP (BVAR (current_buffer, selective_display)) 2389 : (!NILP (BVAR (current_buffer, selective_display))
2390 ? -1 : 0)); 2390 ? -1 : 0));
2391 it->selective_display_ellipsis_p 2391 it->selective_display_ellipsis_p