aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 33ffb588f4c..265c67bcaad 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -839,7 +839,7 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse)
839 len = 40; 839 len = 40;
840 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); 840 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object));
841 841
842 noverlays = overlays_at (pos, 0, &overlay_vec, &len, &next_overlay); 842 noverlays = overlays_at (pos, 0, &overlay_vec, &len, &next_overlay, NULL);
843 843
844 /* If there are more than 40, 844 /* If there are more than 40,
845 make enough space for all, and try again. */ 845 make enough space for all, and try again. */
@@ -847,7 +847,8 @@ compute_char_face (f, w, pos, region_beg, region_end, endptr, limit, mouse)
847 { 847 {
848 len = noverlays; 848 len = noverlays;
849 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object)); 849 overlay_vec = (Lisp_Object *) alloca (len * sizeof (Lisp_Object));
850 noverlays = overlays_at (pos, 0, &overlay_vec, &len, &next_overlay); 850 noverlays = overlays_at (pos, 0, &overlay_vec, &len,
851 &next_overlay, NULL);
851 } 852 }
852 853
853 if (next_overlay < endpos) 854 if (next_overlay < endpos)