diff options
| author | Richard M. Stallman | 1994-09-21 06:46:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-21 06:46:02 +0000 |
| commit | 82277c2ff70710598b15419e354031a3374e9c6a (patch) | |
| tree | b2a3e85166fe1d40155cebedbcecf748c65cf8a5 /src | |
| parent | 7965883ba7bc618015290e54a6b351050f0c219a (diff) | |
| download | emacs-82277c2ff70710598b15419e354031a3374e9c6a.tar.gz emacs-82277c2ff70710598b15419e354031a3374e9c6a.zip | |
(compute_char_face): Pass new arg to overlays_at.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfaces.c | 5 |
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) |